58 references to SchemaTypes
System.Data (1)
fx\src\data\System\Data\DataSet.cs (1)
3502XmlSchemaType type = (XmlSchemaType)schema.SchemaTypes[new XmlQualifiedName(name, schemaNamespace)];
System.Data.Services.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
284XmlSchemaComplexType associationType = csdlSchema.SchemaTypes[new XmlQualifiedName("TAssociation", csdlSchema.TargetNamespace)] as XmlSchemaComplexType;
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
86foreach (XmlSchemaObject typeObj in schema.SchemaTypes.Values) 253foreach (XmlSchemaObject schemaObj in schema.SchemaTypes.Values)
System.ServiceModel (6)
System\ServiceModel\Description\MessageContractExporter.cs (2)
169if (!schema.SchemaTypes.Contains(DataContractSerializerMessageContractImporter.GenericMessageTypeName)) 194if (!schema.SchemaTypes.Contains(DataContractSerializerMessageContractImporter.StreamBodyTypeName))
System\ServiceModel\Description\MessageContractImporter.cs (1)
836type = (XmlSchemaType)schema.SchemaTypes[typeName];
System\ServiceModel\Description\SchemaHelper.cs (1)
59XmlSchemaType existingType = (XmlSchemaType)schema.SchemaTypes[new XmlQualifiedName(type.Name, schema.TargetNamespace)];
System\ServiceModel\EndpointAddress10.cs (1)
91if (xmlSchema.SchemaTypes.Contains(eprType))
System\ServiceModel\EndpointAddressAugust2004.cs (1)
90if (xmlSchema.SchemaTypes.Contains(eprType))
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\SchemaUtility.cs (7)
50if (schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.ProbeMatchType)) 92if (schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.ProbeType)) 151if (schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.ResolveType)) 186if (schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.AppSequenceType)) 585(schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.QNameListType))) 590(schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.UriListType))) 595(schema.SchemaTypes.Contains(discoveryVersion.Implementation.QualifiedNames.ScopesType)))
System.Xml (41)
System\Xml\Schema\Preprocessor.cs (9)
164schema.SchemaTypes.Clear(); 652AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType); 657AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType); 705foreach (XmlSchemaType type in includedSchema.SchemaTypes.Values) { 706AddToTable(schema.SchemaTypes, type.QualifiedName, type); 787XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[complexType.QualifiedName]; 794schemaToUpdate.SchemaTypes.Insert(complexType.QualifiedName, complexType); 811XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[simpleType.QualifiedName]; 818schemaToUpdate.SchemaTypes.Insert(simpleType.QualifiedName, simpleType);
System\Xml\Schema\SchemaCollectionCompiler.cs (10)
61foreach (XmlSchemaType type in this.schema.SchemaTypes.Values) { 151schema.SchemaTypes.Clear(); 160this.schema.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 171foreach (XmlSchemaType type in this.schema.SchemaTypes.Values) { 198foreach (XmlSchemaType type in this.schema.SchemaTypes.Values) { 212this.schema.SchemaTypes.Remove(DatatypeImplementation.QnAnyType); //For backward compatibility 224foreach (XmlSchemaType type in this.schema.SchemaTypes.Values) { 2147XmlSchemaSimpleType type = this.schema.SchemaTypes[name] as XmlSchemaSimpleType; 2167XmlSchemaComplexType type = this.schema.SchemaTypes[name] as XmlSchemaComplexType; 2175XmlSchemaType type = (XmlSchemaType)this.schema.SchemaTypes[name];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (8)
100schema.SchemaTypes.Clear(); 428foreach (XmlSchemaType type in includedSchema.SchemaTypes.Values) { 429AddToTable(schema.SchemaTypes, type.QualifiedName, type); 454AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType); 459AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType); 533XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[complexType.QualifiedName]; 556XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[simpleType.QualifiedName]; 580redefine.Schema.SchemaTypes.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
System\Xml\Schema\SchemaSetCompiler.cs (3)
77foreach (XmlSchemaType type in schema.SchemaTypes.Values) { 105schemaForSchema.SchemaTypes.Replace(builtInType.QualifiedName, builtInType); 154schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType);
System\Xml\Schema\XmlSchemaSet.cs (5)
654if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 666if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 926if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 938if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 1288foreach (XmlSchemaType schemaTypeToRemove in schema.SchemaTypes.Values) {
System\Xml\Serialization\Mappings.cs (1)
1176xsdType = (XmlSchemaType)s.SchemaTypes[xsiType];
System\Xml\Serialization\SoapSchemaImporter.cs (1)
217foreach (object item in schema.SchemaTypes.Values) {
System\Xml\Serialization\XmlReflectionImporter.cs (1)
531XmlSchemaType t = (XmlSchemaType)s.SchemaTypes[baseQname];
System\Xml\Serialization\XmlSchemaExporter.cs (1)
449type = (XmlSchemaType)schema.SchemaTypes[serializableMapping.XsiType];
System\Xml\Serialization\XmlSchemaImporter.cs (1)
452foreach (object item in schema.SchemaTypes.Values) {
System\Xml\Serialization\XmlSchemas.cs (1)
291ret = schema.SchemaTypes[name];