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