24 references to Elements
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
85foreach (XmlSchemaElement element in schema.Elements.Values) 287foreach (XmlSchemaObject schemaObj in schema.Elements.Values)
System.Private.Xml (22)
System\Xml\Schema\Preprocessor.cs (4)
182schema.Elements.Clear(); 755AddToTable(schema.Elements, element.QualifiedName, element); 786foreach (XmlSchemaElement? element in includedSchema.Elements.Values) 788AddToTable(schema.Elements, element!.QualifiedName, element);
System\Xml\Schema\SchemaCollectionCompiler.cs (10)
41foreach (XmlSchemaElement? element in _schema!.Elements.Values) 84foreach (XmlSchemaElement? element in _schema.Elements.Values) 188schema.Elements.Clear(); 225foreach (XmlSchemaElement? element in _schema.Elements.Values) 263foreach (XmlSchemaElement? element in _schema.Elements.Values) 281foreach (XmlSchemaElement? element in _schema!.Elements.Values) 441XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[substitutionGroup.Examplar]; 485XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[substitutionGroup.Examplar]; 2194XmlSchemaElement? e = (XmlSchemaElement?)_schema!.Elements[xe.RefName]; 2223XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[xe.SubstitutionGroup];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
112schema.Elements.Clear(); 501foreach (XmlSchemaElement? element in includedSchema.Elements.Values) 503AddToTable(schema.Elements, element!.QualifiedName, element); 562AddToTable(schema.Elements, element.QualifiedName, element);
System\Xml\Schema\SchemaSetCompiler.cs (1)
57foreach (XmlSchemaElement? element in schema.Elements.Values)
System\Xml\Schema\XmlSchemaSet.cs (1)
1353foreach (XmlSchemaElement? elementToRemove in schema.Elements.Values)
System\Xml\Serialization\Mappings.cs (1)
1224elements = Schema.Elements;
System\Xml\Serialization\XmlSchemas.cs (1)
248ret = schema.Elements[name];