1 write to validationStack
System.Xml (1)
System\Xml\Schema\XmlSchemaValidator.cs (1)
198
validationStack
= new HWStack(STACK_INCREMENT);
30 references to validationStack
System.Xml (30)
System\Xml\Schema\XmlSchemaValidator.cs (30)
226
while(
validationStack
.Length > 1) { //Clear all other context from stack
227
validationStack
.Pop();
466
ValidatorState toState =
validationStack
.Length > 1 ? ValidatorState.Attribute : ValidatorState.TopLevelAttribute;
677
ValidatorState toState =
validationStack
.Length > 1 ? ValidatorState.Text : ValidatorState.TopLevelTextOrWS;
744
ValidatorState toState =
validationStack
.Length > 1 ? ValidatorState.Whitespace : ValidatorState.TopLevelTextOrWS;
799
if (
validationStack
.Length <= 1) {
826
if (
validationStack
.Length > 1) { //We have pending elements in the stack to call ValidateEndElement
1007
if (
validationStack
.Length <= 1) {
1291
context = (ValidationState)
validationStack
.Push();
1294
validationStack
.AddToTop(context);
1312
Debug.Assert(
validationStack
.Length > 1);
1313
ValidationState previousContext = (ValidationState)
validationStack
.Pop();
1315
if (startIDConstraint ==
validationStack
.Length) {
1318
context = (ValidationState)
validationStack
.Peek();
1822
for (int level = this.
validationStack
.Length - 1; level >= ((this.startIDConstraint >= 0) ? this.startIDConstraint : this.
validationStack
.Length - 1); level --) {
1824
if (((ValidationState)(this.
validationStack
[level])).Constr == null) {
1828
ConstraintStruct[] constraintStructures = ((ValidationState)this.
validationStack
[level]).Constr;
1854
this.startIDConstraint = this.
validationStack
.Length - 1;
1863
for (int i = this.startIDConstraint; i < this.
validationStack
.Length; i ++) {
1865
if (((ValidationState)(this.
validationStack
[i])).Constr == null) {
1870
ConstraintStruct[] constraintStructures = ((ValidationState)this.
validationStack
[i]).Constr;
1908
for (int ci = this.startIDConstraint; ci < this.
validationStack
.Length; ci ++) {
1910
if (((ValidationState)(this.
validationStack
[ci])).Constr == null) {
1915
ConstraintStruct[] constraintStructures = ((ValidationState)this.
validationStack
[ci]).Constr;
1946
for (int ci = this.
validationStack
.Length - 1; ci >= this.startIDConstraint; ci --) {
1948
if (((ValidationState)(this.
validationStack
[ci])).Constr == null) {
1953
ConstraintStruct[] constraints = ((ValidationState)this.
validationStack
[ci]).Constr;
2048
ConstraintStruct[] vcs = ((ValidationState)(this.
validationStack
[this.
validationStack
.Length - 1])).Constr;