4 writes to Constr
System.Private.Xml (4)
System\Xml\Schema\XmlSchemaValidator.cs (2)
1541
_context.
Constr
= null; //resetting the constraints to be null incase context != null
2160
_context.
Constr
= new ConstraintStruct[currentElementDecl.Constraints!.Length];
System\Xml\Schema\XsdValidator.cs (2)
789
context.
Constr
= null; //resetting the constraints to be null incase context != null
850
context!.
Constr
= new ConstraintStruct[context.ElementDecl!.Constraints!.Length];
28 references to Constr
System.Private.Xml (28)
System\Xml\Schema\XmlSchemaValidator.cs (14)
2164
_context.
Constr
[id++] = new ConstraintStruct(currentElementDecl.Constraints[i]);
2169
for (int i = 0; i < _context.
Constr
.Length; ++i)
2171
if (_context.
Constr
[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
2178
if (((ValidationState)(_validationStack[level])).
Constr
== null)
2183
ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[level]).
Constr
!;
2186
if (constraintStructures[j].constraint.name == _context.
Constr
[i].constraint.refer)
2193
_context.
Constr
[i].qualifiedTable = constraintStructures[j].keyrefTable;
2227
if (((ValidationState)(_validationStack[i])).
Constr
== null)
2233
ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[i]).
Constr
!;
2282
if (((ValidationState)(_validationStack[ci])).
Constr
== null)
2288
ConstraintStruct[] constraintStructures = ((ValidationState)_validationStack[ci]).
Constr
!;
2328
if (((ValidationState)(_validationStack[ci])).
Constr
== null)
2334
ConstraintStruct[] constraints = ((ValidationState)_validationStack[ci]).
Constr
!;
2448
ConstraintStruct[]? vcs = ((ValidationState)(_validationStack[_validationStack.Length - 1])).
Constr
;
System\Xml\Schema\XsdValidator.cs (14)
854
context.
Constr
[id++] = new ConstraintStruct(context.ElementDecl.Constraints[i]);
859
for (int i = 0; i < context.
Constr
.Length; ++i)
861
if (context.
Constr
[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref)
868
if (((ValidationState)(_validationStack[level])).
Constr
== null)
873
ConstraintStruct[] constraints = ((ValidationState)_validationStack[level]).
Constr
!;
876
if (constraints[j].constraint.name == context.
Constr
[i].constraint.refer)
883
context.
Constr
[i].qualifiedTable = constraints[j].keyrefTable;
913
if (((ValidationState)(_validationStack[i])).
Constr
== null)
919
ConstraintStruct[] constraints = ((ValidationState)_validationStack[i]).
Constr
!;
968
if (((ValidationState)(_validationStack[ci])).
Constr
== null)
974
ConstraintStruct[] constraints = ((ValidationState)_validationStack[ci]).
Constr
!;
1022
if (((ValidationState)(_validationStack[ci])).
Constr
== null)
1028
ConstraintStruct[] constraints = ((ValidationState)_validationStack[ci]).
Constr
!;
1128
ConstraintStruct[] vcs = ((ValidationState)(_validationStack[_validationStack.Length - 1])).
Constr
!;