2 writes to SubstitutionGroup
System.Private.Xml (2)
System\Xml\Schema\Inference\Infer.cs (1)
2406
newElement.
SubstitutionGroup
= copyElement.SubstitutionGroup;
System\Xml\Schema\XsdBuilder.cs (1)
1360
builder._element!.
SubstitutionGroup
= builder.ParseQName(value, "substitutionGroup");
35 references to SubstitutionGroup
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1361
if (!element.
SubstitutionGroup
.IsEmpty)
System.Private.Xml (34)
System\Xml\Schema\Inference\Infer.cs (1)
2406
newElement.SubstitutionGroup = copyElement.
SubstitutionGroup
;
System\Xml\Schema\Preprocessor.cs (3)
1307
if (!element.
SubstitutionGroup
.IsEmpty)
1309
ValidateQNameAttribute(element, "type", element.
SubstitutionGroup
);
1364
if (!element.
SubstitutionGroup
.IsEmpty)
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
43
if (!element!.
SubstitutionGroup
.IsEmpty)
45
XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.
SubstitutionGroup
];
49
substitutionGroup.Examplar = element.
SubstitutionGroup
;
50
_examplars.Add(element.
SubstitutionGroup
, substitutionGroup);
2221
else if (!xe.
SubstitutionGroup
.IsEmpty)
2223
XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[xe.
SubstitutionGroup
];
2226
throw new XmlSchemaException(SR.Sch_UndeclaredEquivClass, xe.
SubstitutionGroup
.Name, xe);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
980
if (!element.
SubstitutionGroup
.IsEmpty)
982
ValidateQNameAttribute(element, "type", element.
SubstitutionGroup
);
1037
if (!element.
SubstitutionGroup
.IsEmpty)
System\Xml\Schema\SchemaSetCompiler.cs (8)
451
if (!element!.
SubstitutionGroup
.IsEmpty)
453
XmlSchemaElement? headElement = _elements[element.
SubstitutionGroup
!] as XmlSchemaElement;
467
XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.
SubstitutionGroup
];
471
substitutionGroup.Examplar = element.
SubstitutionGroup
;
472
_examplars.Add(element.
SubstitutionGroup
, substitutionGroup);
2680
else if (!xe.
SubstitutionGroup
.IsEmpty)
2682
XmlSchemaElement? examplar = (XmlSchemaElement?)_elements[xe.
SubstitutionGroup
];
2685
throw new XmlSchemaException(SR.Sch_UndeclaredEquivClass, xe.
SubstitutionGroup
.Name, xe);
System\Xml\Schema\XmlSchemaValidator.cs (1)
1381
XmlQualifiedName head = memberElem.
SubstitutionGroup
;
System\Xml\Serialization\ImportContext.cs (3)
364
if (!el.
SubstitutionGroup
.IsEmpty)
366
if (el.
SubstitutionGroup
.Namespace != XmlSchema.Namespace)
368
XmlSchemaElement? head = (XmlSchemaElement?)_schemas.Find(el.
SubstitutionGroup
, typeof(XmlSchemaElement), false);
System\Xml\Serialization\Mappings.cs (2)
1264
if (e1.
SubstitutionGroup
!= e2.
SubstitutionGroup
)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
1002
if (!o.
SubstitutionGroup
.IsEmpty)
1004
WriteAttribute("substitutionGroup", "", o.
SubstitutionGroup
);
System\Xml\Serialization\XmlSchemaImporter.cs (4)
335
else if (!element.
SubstitutionGroup
.IsEmpty)
336
mapping = ImportElementType(FindElement(element.
SubstitutionGroup
), identifier, desiredMappingType, baseType, ns);
1050
equivalentElement.
SubstitutionGroup
.Namespace == schema.TargetNamespace &&
1051
equivalentElement.
SubstitutionGroup
.Name == element.Name)