3 writes to SubstitutionGroup
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
8760
o.
@SubstitutionGroup
= ToXmlQualifiedName(Reader.Value);
System.Xml (2)
System\Xml\Schema\Inference\Infer.cs (1)
2387
newElement.
SubstitutionGroup
= copyElement.SubstitutionGroup;
System\Xml\Schema\XsdBuilder.cs (1)
1287
builder.element.
SubstitutionGroup
= builder.ParseQName(value, "substitutionGroup");
37 references to SubstitutionGroup
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1374
if (!element.
SubstitutionGroup
.IsEmpty)
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
2253
WriteAttribute(@"substitutionGroup", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.
@SubstitutionGroup
)));
System.Xml (35)
System\Xml\Schema\Inference\Infer.cs (1)
2387
newElement.SubstitutionGroup = copyElement.
SubstitutionGroup
;
System\Xml\Schema\Preprocessor.cs (3)
1101
if (!element.
SubstitutionGroup
.IsEmpty) {
1102
ValidateQNameAttribute(element, "type", element.
SubstitutionGroup
);
1147
if (!element.
SubstitutionGroup
.IsEmpty) {
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
40
if (!element.
SubstitutionGroup
.IsEmpty) {
41
XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)this.examplars[element.
SubstitutionGroup
];
44
substitutionGroup.Examplar = element.
SubstitutionGroup
;
45
examplars.Add(element.
SubstitutionGroup
, substitutionGroup);
1825
else if (!xe.
SubstitutionGroup
.IsEmpty) {
1826
XmlSchemaElement examplar = (XmlSchemaElement)this.schema.Elements[xe.
SubstitutionGroup
];
1828
throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.
SubstitutionGroup
.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
791
if (!element.
SubstitutionGroup
.IsEmpty) {
792
ValidateQNameAttribute(element, "type", element.
SubstitutionGroup
);
837
if (!element.
SubstitutionGroup
.IsEmpty) {
System\Xml\Schema\SchemaSetCompiler.cs (8)
351
if (!element.
SubstitutionGroup
.IsEmpty) {
352
XmlSchemaElement headElement = this.elements[element.
SubstitutionGroup
] as XmlSchemaElement;
363
XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)this.examplars[element.
SubstitutionGroup
];
366
substitutionGroup.Examplar = element.
SubstitutionGroup
;
367
examplars.Add(element.
SubstitutionGroup
, substitutionGroup);
2171
else if (!xe.
SubstitutionGroup
.IsEmpty) {
2172
XmlSchemaElement examplar = (XmlSchemaElement)elements[xe.
SubstitutionGroup
];
2174
throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.
SubstitutionGroup
.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\XmlSchemaValidator.cs (1)
1189
XmlQualifiedName head = memberElem.
SubstitutionGroup
;
System\Xml\Serialization\ImportContext.cs (3)
380
if (!el.
SubstitutionGroup
.IsEmpty) {
381
if (el.
SubstitutionGroup
.Namespace != XmlSchema.Namespace) {
382
XmlSchemaElement head = (XmlSchemaElement)schemas.Find(el.
SubstitutionGroup
, typeof(XmlSchemaElement), false);
System\Xml\Serialization\Mappings.cs (2)
1120
if (e1.
SubstitutionGroup
!= e2.
SubstitutionGroup
)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
835
if (!o.
SubstitutionGroup
.IsEmpty) {
836
WriteAttribute("substitutionGroup", "", o.
SubstitutionGroup
);
System\Xml\Serialization\SoapSchemaImporter.cs (1)
197
else if (!element.
SubstitutionGroup
.IsEmpty) {
System\Xml\Serialization\XmlSchemaImporter.cs (4)
357
else if (!element.
SubstitutionGroup
.IsEmpty)
358
mapping = ImportElementType(FindElement(element.
SubstitutionGroup
), identifier, desiredMappingType, baseType, ns);
1021
equivalentElement.
SubstitutionGroup
.Namespace == schema.TargetNamespace &&
1022
equivalentElement.
SubstitutionGroup
.Name == element.Name) {