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)
1724elementDeclXsi.Constraints = elementDecl.Constraints;
9 references to Constraints
System.Private.Xml (9)
System\Xml\Schema\XmlSchemaValidator.cs (5)
1724elementDeclXsi.Constraints = elementDecl.Constraints; 1767if (ProcessIdentityConstraints && _context.ElementDecl!.Constraints != null) 2160_context.Constr = new ConstraintStruct[currentElementDecl.Constraints!.Length]; 2162for (int i = 0; i < currentElementDecl.Constraints.Length; ++i) 2164_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]);