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