23 references to Constraints
System.Data.Common (8)
System\Data\XMLSchema.cs (8)
1517if ((_dsElement != null) && (_dsElement.Constraints != null)) 1519foreach (XmlSchemaIdentityConstraint key in _dsElement.Constraints) 1655if ((_dsElement != null) && (_dsElement.Constraints != null)) 1657foreach (XmlSchemaIdentityConstraint key in _dsElement.Constraints) 1683if ((_dsElement != null) && (_dsElement.Constraints != null)) 1685foreach (XmlSchemaIdentityConstraint key in _dsElement.Constraints) 2702if (node.Constraints != null) 2704foreach (XmlSchemaIdentityConstraint key in node.Constraints)
System.Private.Xml (15)
System\Xml\Schema\Preprocessor.cs (2)
1426for (int i = 0; i < element.Constraints.Count; ++i) 1428XmlSchemaIdentityConstraint identityConstraint = (XmlSchemaIdentityConstraint)element.Constraints[i];
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
392for (int i = 0; i < element.Constraints.Count; ++i) 394((XmlSchemaIdentityConstraint)element.Constraints[i]).CompiledConstraint = null; 2313XmlSchemaObjectCollection constraints = xe.Constraints;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
1098for (int i = 0; i < element.Constraints.Count; ++i) 1100SetParent(element.Constraints[i], element); 1101PreprocessIdentityConstraint((XmlSchemaIdentityConstraint)element.Constraints[i]);
System\Xml\Schema\SchemaSetCompiler.cs (3)
397for (int i = 0; i < element.Constraints.Count; ++i) 399((XmlSchemaIdentityConstraint)element.Constraints[i]).CompiledConstraint = null; 2783XmlSchemaObjectCollection constraints = xe.Constraints;
System\Xml\Schema\XsdBuilder.cs (3)
1435if (builder._element.Constraints.Count != 0) 1598if (builder._element.Constraints.Count != 0) 2169builder._element.Constraints.Add(builder._identityConstraint!);
System\Xml\Serialization\SchemaObjectWriter.cs (1)
1025WriteSortedItems(o.Constraints);