3 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");
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
10760
o.
@SubstitutionGroup
= ToXmlQualifiedName(Reader.Value);
36 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)
1393
XmlQualifiedName head = memberElem.
SubstitutionGroup
;
System\Xml\Serialization\ImportContext.cs (3)
366
if (!el.
SubstitutionGroup
.IsEmpty)
368
if (el.
SubstitutionGroup
.Namespace != XmlSchema.Namespace)
370
XmlSchemaElement? head = (XmlSchemaElement?)_schemas.Find(el.
SubstitutionGroup
, typeof(XmlSchemaElement), false);
System\Xml\Serialization\Mappings.cs (2)
1289
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)
351
else if (!element.
SubstitutionGroup
.IsEmpty)
352
mapping = ImportElementType(FindElement(element.
SubstitutionGroup
), identifier, desiredMappingType, baseType, ns);
1079
equivalentElement.
SubstitutionGroup
.Namespace == schema.TargetNamespace &&
1080
equivalentElement.
SubstitutionGroup
.Name == element.Name)
System.Web.Services.Description (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
2646
WriteAttribute(@"substitutionGroup", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.
@SubstitutionGroup
)));