25 writes to SchemaType
System.Runtime.Serialization (3)
System\Runtime\Serialization\SchemaExporter.cs (2)
195element.SchemaType = xmlDataContract.XsdType; 395element.SchemaType = keyValueType;
System\Runtime\Serialization\SchemaImporter.cs (1)
146element.SchemaType = new XmlSchemaComplexType();
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractExporter.cs (3)
361element.SchemaType = xsdType; 381element.SchemaType = xsdType; 419wrapperGlobalElement.SchemaType = wrapperType; // generating an anonymous type for wrapper
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
98element.SchemaType = innerType;
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
8795o.@SchemaType = Read34_XmlSchemaSimpleType(false, true); 8799o.@SchemaType = Read62_XmlSchemaComplexType(false, true);
System.Xml (16)
System\Xml\Schema\Inference\Infer.cs (3)
920xse.SchemaType = ct; 1246xse.SchemaType = ct; 2384newElement.SchemaType = copyElement.SchemaType;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1781xsiElement.SchemaType = currentDecl.SchemaType;
System\Xml\Schema\XsdBuilder.cs (2)
1353builder.element.SchemaType = builder.simpleType; 1493builder.element.SchemaType = builder.complexType;
System\Xml\Serialization\XmlSchemaExporter.cs (9)
362element.SchemaType = ExportAnonymousPrimitiveMapping(pm); 372element.SchemaType = ExportMembersMapping((MembersMapping)mapping, ns); 408element.SchemaType = type; 438element.SchemaType = type; 455element.SchemaType = type; 478element.SchemaType = type; 495element.SchemaType = type; 582element.SchemaType = type; 912element.SchemaType = type;
System\Xml\Serialization\XmlSchemas.cs (1)
715element.SchemaType = type;
84 references to SchemaType
System.Data (14)
fx\src\data\System\Data\DataSet.cs (5)
3585return ImportSchemaType(ds.SchemaType, ds, schemas, importer, compileUnit, mainNamespace, options, codeProvider); 3622return ImportSchemaType(ds.SchemaType, ds, schemas, importer, compileUnit, mainNamespace, options, codeProvider); 3650if (importedTypes[element.SchemaType] != null) 3651return (string)importedTypes[element.SchemaType]; 3674importedTypes.Add(element.SchemaType, typeName);
fx\src\data\System\Data\XMLSchema.cs (9)
475if (isChoice && pt.MaxOccurs > Decimal.One && (((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) // we know frominference condition 479if (!FromInference || (((XmlSchemaElement)el).MaxOccurs != Decimal.One && !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType))) 520XmlSchemaComplexType ct = node.SchemaType as XmlSchemaComplexType; 778if (this.FromInference && pt is XmlSchemaChoice && pt.MaxOccurs > Decimal.One && (el.SchemaType is XmlSchemaComplexType)) 1268XmlSchemaComplexType ct = node.SchemaType as XmlSchemaComplexType; 1681typeNode = (XmlSchemaAnnotated) (isAttr ? attr.SchemaType : el.SchemaType); 2286if (node.ElementSchemaType != null || !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) { 2310if (((XmlSchemaParticle)el).MaxOccurs > Decimal.One && (((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType)) // amir 2312if ((((XmlSchemaElement)choiceEl).RefName.Name.Length != 0) && (!FromInference && ((XmlSchemaElement)choiceEl).MaxOccurs != Decimal.One && !(((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType)))
System.Data.Services.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
318XmlSchemaComplexType complexType = entityContainerElement.SchemaType as XmlSchemaComplexType;
System.Runtime.Serialization (7)
System\Runtime\Serialization\SchemaImporter.cs (7)
92if (element.SchemaType != null) 384if (element.SchemaType == null) 387return ImportType(element.SchemaType, typeQName, true/*isAnonymous*/); 955if (topLevelElement.SchemaType != null) 989if (element.SchemaType != null) 1087if (element.SchemaType != null) 1127if (element.SchemaType != null)
System.ServiceModel (8)
System\ServiceModel\Description\MessageContractImporter.cs (3)
1220if (element.SchemaType != null) 1264if (schemaElement.SchemaType != null) 1266schemaType = schemaElement.SchemaType;
System\ServiceModel\Description\SchemaHelper.cs (5)
26if (element.SchemaType == existingElement.SchemaType && element.SchemaTypeName == existingElement.SchemaTypeName) 94if (element.SchemaType != null) 108if (e1.SchemaType != null || e2.SchemaType != null)
System.Web.Services (6)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (6)
2257if (o.@SchemaType is global::System.Xml.Schema.XmlSchemaComplexType) { 2258Write62_XmlSchemaComplexType(@"complexType", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaComplexType)o.@SchemaType), false, false); 2260else if (o.@SchemaType is global::System.Xml.Schema.XmlSchemaSimpleType) { 2261Write34_XmlSchemaSimpleType(@"simpleType", @"http://www.w3.org/2001/XMLSchema", ((global::System.Xml.Schema.XmlSchemaSimpleType)o.@SchemaType), false, false); 2264if (o.@SchemaType != null) { 2265throw CreateUnknownTypeException(o.@SchemaType);
System.Xml (48)
System\Xml\Schema\Inference\Infer.cs (4)
672ct = xse.SchemaType as XmlSchemaComplexType; 1017if (elem.SchemaType != null) { 1018effectiveSchemaType = elem.SchemaType; 2384newElement.SchemaType = copyElement.SchemaType;
System\Xml\Schema\Preprocessor.cs (6)
1124element.SchemaType != null || 1175if (element.SchemaType != null) { 1176SetParent(element.SchemaType, element); //Set parent for simple / complex type child of element 1180if (element.SchemaType is XmlSchemaComplexType) { 1181PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1184PreprocessSimpleType((XmlSchemaSimpleType)element.SchemaType, true);
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
299if (element.SchemaType != null) { 300XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 305CleanupSimpleType((XmlSchemaSimpleType)element.SchemaType); 1816if (xe.SchemaType != null) { 1817xe.SetElementType(xe.SchemaType);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (6)
814element.SchemaType != null || 865if (element.SchemaType != null) { 866SetParent(element.SchemaType, element); //Set parent for simple / complex type child of element 870if (element.SchemaType is XmlSchemaComplexType) { 871PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 874PreprocessSimpleType((XmlSchemaSimpleType)element.SchemaType, true);
System\Xml\Schema\SchemaSetCompiler.cs (5)
300if (element.SchemaType != null) { 301XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 306CleanupSimpleType((XmlSchemaSimpleType)element.SchemaType); 2162if (xe.SchemaType != null) { 2163xe.SetElementType(xe.SchemaType);
System\Xml\Schema\XsdBuilder.cs (2)
1347if (builder.element.SchemaType != null) { 1487if (builder.element.SchemaType != null) {
System\Xml\Serialization\ImportContext.cs (1)
395Depends(el.SchemaType, refs);
System\Xml\Serialization\Mappings.cs (2)
1108if (e1.SchemaType != e2.SchemaType)
System\Xml\Serialization\SchemaObjectWriter.cs (4)
847if (o.SchemaType is XmlSchemaComplexType) { 848Write35_XmlSchemaComplexType((XmlSchemaComplexType)o.SchemaType); 850else if (o.SchemaType is XmlSchemaSimpleType) { 851Write9_XmlSchemaSimpleType((XmlSchemaSimpleType)o.SchemaType);
System\Xml\Serialization\SoapSchemaImporter.cs (5)
185else if (element.SchemaType != null) { 187if (element.SchemaType is XmlSchemaComplexType) { 188mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, false); 382if (element.SchemaType == null) return null; 384XmlSchemaType type = element.SchemaType;
System\Xml\Serialization\XmlSchemaImporter.cs (8)
350else if (element.SchemaType != null) { 351if (element.SchemaType is XmlSchemaComplexType) 352mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, identifier, desiredMappingType, baseType, TypeFlags.CanBeElementValue); 354mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false); 372RunSchemaExtensions(mapping, element.SchemaTypeName, element.SchemaType, element, TypeFlags.CanBeElementValue); 1165if (element.SchemaType == null) return null; 1167XmlSchemaType type = element.SchemaType; 1262XmlSchemaType refType = refElement.SchemaType;