4 writes to Constr
System.Xml (4)
System\Xml\Schema\XmlSchemaValidator.cs (2)
1307
context.
Constr
= null; //resetting the constraints to be null incase context != null
1809
context.
Constr
= new ConstraintStruct[currentElementDecl.Constraints.Length];
System\Xml\Schema\XsdValidator.cs (2)
663
context.
Constr
= null; //resetting the constraints to be null incase context != null
712
context.
Constr
= new ConstraintStruct[context.ElementDecl.Constraints.Length];
28 references to Constr
System.Xml (28)
System\Xml\Schema\XmlSchemaValidator.cs (14)
1813
context.
Constr
[id++] = new ConstraintStruct(currentElementDecl.Constraints[i]);
1818
for (int i = 0; i < context.
Constr
.Length; ++i) {
1819
if ( context.
Constr
[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref ) {
1824
if (((ValidationState)(this.validationStack[level])).
Constr
== null) {
1828
ConstraintStruct[] constraintStructures = ((ValidationState)this.validationStack[level]).
Constr
;
1830
if (constraintStructures[j].constraint.name == context.
Constr
[i].constraint.refer) {
1835
context.
Constr
[i].qualifiedTable = constraintStructures[j].keyrefTable;
1865
if (((ValidationState)(this.validationStack[i])).
Constr
== null) {
1870
ConstraintStruct[] constraintStructures = ((ValidationState)this.validationStack[i]).
Constr
;
1910
if (((ValidationState)(this.validationStack[ci])).
Constr
== null) {
1915
ConstraintStruct[] constraintStructures = ((ValidationState)this.validationStack[ci]).
Constr
;
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
;
System\Xml\Schema\XsdValidator.cs (14)
715
context.
Constr
[id++] = new ConstraintStruct (context.ElementDecl.Constraints[i]);
720
for (int i = 0; i < context.
Constr
.Length; ++i) {
721
if ( context.
Constr
[i].constraint.Role == CompiledIdentityConstraint.ConstraintRole.Keyref ) {
726
if (((ValidationState)(this.validationStack[level])).
Constr
== null) {
730
ConstraintStruct[] constraints = ((ValidationState) this.validationStack[level]).
Constr
;
732
if (constraints[j].constraint.name == context.
Constr
[i].constraint.refer) {
737
context.
Constr
[i].qualifiedTable = constraints[j].keyrefTable;
763
if (((ValidationState)(this.validationStack[i])).
Constr
== null) {
768
ConstraintStruct[] constraints = ((ValidationState)this.validationStack[i]).
Constr
;
809
if (((ValidationState)(this.validationStack[ci])).
Constr
== null) {
814
ConstraintStruct[] constraints = ((ValidationState)this.validationStack[ci]).
Constr
;
852
if (((ValidationState)(this.validationStack[ci])).
Constr
== null) {
857
ConstraintStruct[] constraints = ((ValidationState)this.validationStack[ci]).
Constr
;
942
ConstraintStruct[] vcs = ((ValidationState)(this.validationStack[this.validationStack.Length - 1])).
Constr
;