42 references to SchemaTypes
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
80
foreach (XmlSchemaObject typeObj in schema.
SchemaTypes
.Values)
251
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)
108
schema.
SchemaTypes
.Clear();
518
foreach (XmlSchemaType? type in includedSchema.
SchemaTypes
.Values)
520
AddToTable(schema.
SchemaTypes
, type!.QualifiedName, type);
549
AddToTable(schema.
SchemaTypes
, complexType.QualifiedName, complexType);
554
AddToTable(schema.
SchemaTypes
, simpleType.QualifiedName, simpleType);
643
XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.
SchemaTypes
[complexType.QualifiedName];
672
XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.
SchemaTypes
[simpleType.QualifiedName];
705
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)
622
if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.
SchemaTypes
[DatatypeImplementation.QnAnyType] != null)
638
if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.
SchemaTypes
[DatatypeImplementation.QnAnyType] != null)
915
if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.
SchemaTypes
[DatatypeImplementation.QnAnyType] != null)
931
if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.
SchemaTypes
[DatatypeImplementation.QnAnyType] != null)
1359
foreach (XmlSchemaType? schemaTypeToRemove in schema.
SchemaTypes
.Values)
System\Xml\Serialization\Mappings.cs (1)
1358
_xsdType = (XmlSchemaType?)s.
SchemaTypes
[_xsiType];
System\Xml\Serialization\XmlReflectionImporter.cs (1)
602
XmlSchemaType t = (XmlSchemaType)s.
SchemaTypes
[baseQname]!;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
479
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)
230
ret = schema.
SchemaTypes
[name];