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