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