1 write to _validationStack
System.Private.Xml (1)
System\Xml\Schema\XmlSchemaValidator.cs (1)
208_validationStack = new HWStack(STACK_INCREMENT);
31 references to _validationStack
System.Private.Xml (31)
System\Xml\Schema\XmlSchemaValidator.cs (31)
189[MemberNotNull(nameof(_validationStack))] 236while (_validationStack.Length > 1) 238_validationStack.Pop(); 498ValidatorState toState = _validationStack.Length > 1 ? ValidatorState.Attribute : ValidatorState.TopLevelAttribute; 741ValidatorState toState = _validationStack.Length > 1 ? ValidatorState.Text : ValidatorState.TopLevelTextOrWS; 820ValidatorState toState = _validationStack.Length > 1 ? ValidatorState.Whitespace : ValidatorState.TopLevelTextOrWS; 887if (_validationStack.Length <= 1) 920if (_validationStack.Length > 1) 1169if (_validationStack.Length <= 1) 1524_context = (ValidationState)_validationStack.Push(); 1528_validationStack.AddToTop(_context); 1547Debug.Assert(_validationStack.Length > 1); 1548ValidationState previousContext = (ValidationState)_validationStack.Pop()!; 1550if (_startIDConstraint == _validationStack.Length) 1555_context = (ValidationState)_validationStack.Peek()!; 2175for (int level = _validationStack.Length - 1; level >= ((_startIDConstraint >= 0) ? _startIDConstraint : _validationStack.Length - 1); level--) 2178if (((ValidationState)(_validationStack[level])).Constr == null) 2183ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[level]).Constr!; 2214_startIDConstraint = _validationStack.Length - 1; 2224for (int i = _startIDConstraint; i < _validationStack.Length; i++) 2227if (((ValidationState)(_validationStack[i])).Constr == null) 2233ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[i]).Constr!; 2279for (int ci = _startIDConstraint; ci < _validationStack.Length; ci++) 2282if (((ValidationState)(_validationStack[ci])).Constr == null) 2288ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[ci]).Constr!; 2325for (int ci = _validationStack.Length - 1; ci >= _startIDConstraint; ci--) 2328if (((ValidationState)(_validationStack[ci])).Constr == null) 2334ConstraintStruct[] constraints = ((ValidationState)_validationStack[ci]).Constr!; 2448ConstraintStruct[]? vcs = ((ValidationState)(_validationStack[_validationStack.Length - 1])).Constr;