System.Xml.Schema.XmlSchemaValidator.Reset C# (CSharp) Method

Reset() private method

private Reset ( ) : void
return void
        private void Reset()
        {
            _isRoot = true;
            _rootHasSchema = true;
            while (_validationStack.Length > 1)
            { //Clear all other context from stack
                _validationStack.Pop();
            }
            _startIDConstraint = -1;
            _partialValidationType = null;

            //Clear previous tables
            if (_IDs != null)
            {
                _IDs.Clear();
            }
            if (ProcessSchemaHints)
            {
                _validatedNamespaces.Clear();
            }
        }