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
))]
236
while (
_validationStack
.Length > 1)
238
_validationStack
.Pop();
498
ValidatorState toState =
_validationStack
.Length > 1 ? ValidatorState.Attribute : ValidatorState.TopLevelAttribute;
741
ValidatorState toState =
_validationStack
.Length > 1 ? ValidatorState.Text : ValidatorState.TopLevelTextOrWS;
820
ValidatorState toState =
_validationStack
.Length > 1 ? ValidatorState.Whitespace : ValidatorState.TopLevelTextOrWS;
887
if (
_validationStack
.Length <= 1)
920
if (
_validationStack
.Length > 1)
1169
if (
_validationStack
.Length <= 1)
1524
_context = (ValidationState)
_validationStack
.Push();
1528
_validationStack
.AddToTop(_context);
1547
Debug.Assert(
_validationStack
.Length > 1);
1548
ValidationState previousContext = (ValidationState)
_validationStack
.Pop()!;
1550
if (_startIDConstraint ==
_validationStack
.Length)
1555
_context = (ValidationState)
_validationStack
.Peek()!;
2175
for (int level =
_validationStack
.Length - 1; level >= ((_startIDConstraint >= 0) ? _startIDConstraint :
_validationStack
.Length - 1); level--)
2178
if (((ValidationState)(
_validationStack
[level])).Constr == null)
2183
ConstraintStruct[] constraintStructures = ((ValidationState)
_validationStack
[level]).Constr!;
2214
_startIDConstraint =
_validationStack
.Length - 1;
2224
for (int i = _startIDConstraint; i <
_validationStack
.Length; i++)
2227
if (((ValidationState)(
_validationStack
[i])).Constr == null)
2233
ConstraintStruct[] constraintStructures = ((ValidationState)
_validationStack
[i]).Constr!;
2279
for (int ci = _startIDConstraint; ci <
_validationStack
.Length; ci++)
2282
if (((ValidationState)(
_validationStack
[ci])).Constr == null)
2288
ConstraintStruct[] constraintStructures = ((ValidationState)
_validationStack
[ci]).Constr!;
2325
for (int ci =
_validationStack
.Length - 1; ci >= _startIDConstraint; ci--)
2328
if (((ValidationState)(
_validationStack
[ci])).Constr == null)
2334
ConstraintStruct[] constraints = ((ValidationState)
_validationStack
[ci]).Constr!;
2448
ConstraintStruct[]? vcs = ((ValidationState)(
_validationStack
[
_validationStack
.Length - 1])).Constr;