42 references to SchemaTypes
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
81foreach (XmlSchemaObject typeObj in schema.SchemaTypes.Values) 252foreach (XmlSchemaObject schemaObj in schema.SchemaTypes.Values)
System.Private.Xml (40)
System\Xml\Schema\Preprocessor.cs (9)
181schema.SchemaTypes.Clear(); 745AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType); 750AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType); 806foreach (XmlSchemaType? type in includedSchema.SchemaTypes.Values) 808AddToTable(schema.SchemaTypes, type!.QualifiedName, type); 904XmlSchemaType? originalType = (XmlSchemaType?)schemaToUpdate.SchemaTypes[complexType.QualifiedName]; 913schemaToUpdate.SchemaTypes.Insert(complexType.QualifiedName, complexType); 933XmlSchemaType? originalType = (XmlSchemaType?)schemaToUpdate.SchemaTypes[simpleType.QualifiedName]; 942schemaToUpdate.SchemaTypes.Insert(simpleType.QualifiedName, simpleType);
System\Xml\Schema\SchemaCollectionCompiler.cs (10)
72foreach (XmlSchemaType? type in _schema.SchemaTypes.Values) 187schema.SchemaTypes.Clear(); 197_schema!.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 214foreach (XmlSchemaType? type in _schema.SchemaTypes.Values) 255foreach (XmlSchemaType? type in _schema.SchemaTypes.Values) 276_schema.SchemaTypes.Remove(DatatypeImplementation.QnAnyType); //For backward compatibility 293foreach (XmlSchemaType? type in _schema.SchemaTypes.Values) 2621XmlSchemaSimpleType? type = _schema!.SchemaTypes[name] as XmlSchemaSimpleType; 2648XmlSchemaComplexType? type = _schema!.SchemaTypes[name] as XmlSchemaComplexType; 2658XmlSchemaType? type = (XmlSchemaType?)_schema!.SchemaTypes[name];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
111schema.SchemaTypes.Clear(); 521foreach (XmlSchemaType? type in includedSchema.SchemaTypes.Values) 523AddToTable(schema.SchemaTypes, type!.QualifiedName, type); 552AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType); 557AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType); 646XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.SchemaTypes[complexType.QualifiedName]; 675XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.SchemaTypes[simpleType.QualifiedName]; 708redefine.Schema!.SchemaTypes.Insert((XmlQualifiedName)entry.Key!, (XmlSchemaObject)entry.Value!);
System\Xml\Schema\SchemaSetCompiler.cs (3)
97foreach (XmlSchemaType? type in schema.SchemaTypes.Values) 136_schemaForSchema.SchemaTypes.Replace(builtInType.QualifiedName, builtInType); 194_schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType);
System\Xml\Schema\XmlSchemaSet.cs (5)
634if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 650if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 927if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 943if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1371foreach (XmlSchemaType? schemaTypeToRemove in schema.SchemaTypes.Values)
System\Xml\Serialization\Mappings.cs (1)
1334_xsdType = (XmlSchemaType?)s.SchemaTypes[_xsiType];
System\Xml\Serialization\XmlReflectionImporter.cs (1)
602XmlSchemaType t = (XmlSchemaType)s.SchemaTypes[baseQname]!;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
481type = (XmlSchemaType?)schema.SchemaTypes[serializableMapping.XsiType];
System\Xml\Serialization\XmlSchemaImporter.cs (1)
400foreach (object item in schema.SchemaTypes.Values)
System\Xml\Serialization\XmlSchemas.cs (1)
232ret = schema.SchemaTypes[name];