3 writes to Constraints
System.Private.Xml (3)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
2322decl.Constraints = compiledConstraints;
System\Xml\Schema\SchemaSetCompiler.cs (1)
2792decl.Constraints = compiledConstraints;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1712elementDeclXsi.Constraints = elementDecl.Constraints;
9 references to Constraints
System.Private.Xml (9)
System\Xml\Schema\XmlSchemaValidator.cs (5)
1712elementDeclXsi.Constraints = elementDecl.Constraints; 1755if (ProcessIdentityConstraints && _context.ElementDecl!.Constraints != null) 2148_context.Constr = new ConstraintStruct[currentElementDecl.Constraints!.Length]; 2150for (int i = 0; i < currentElementDecl.Constraints.Length; ++i) 2152_context.Constr[id++] = new ConstraintStruct(currentElementDecl.Constraints[i]);
System\Xml\Schema\XsdValidator.cs (4)
831if (context.ElementDecl.Constraints != null) 850context!.Constr = new ConstraintStruct[context.ElementDecl!.Constraints!.Length]; 852for (int i = 0; i < context.ElementDecl.Constraints.Length; ++i) 854context.Constr[id++] = new ConstraintStruct(context.ElementDecl.Constraints[i]);