19 writes to SchemaType
dotnet-svcutil-lib (19)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (3)
922xse.SchemaType = ct; 1255xse.SchemaType = ct; 2423newElement.SchemaType = copyElement.SchemaType;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
2155xsiElement.SchemaType = currentDecl.SchemaType;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
1446builder._element.SchemaType = builder._simpleType; 1607builder._element.SchemaType = builder._complexType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (9)
414element.SchemaType = ExportAnonymousPrimitiveMapping(pm); 426element.SchemaType = ExportMembersMapping((MembersMapping)mapping, ns); 470element.SchemaType = type; 506element.SchemaType = type; 527element.SchemaType = type; 553element.SchemaType = type; 571element.SchemaType = type; 678element.SchemaType = type; 1069element.SchemaType = type;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
865element.SchemaType = type;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
145element.SchemaType = new XmlSchemaComplexType();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (2)
10890o.@SchemaType = Read34_XmlSchemaSimpleType(false, true); 10895o.@SchemaType = Read62_XmlSchemaComplexType(false, true);
69 references to SchemaType
dotnet-svcutil-lib (69)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (4)
673ct = xse.SchemaType as XmlSchemaComplexType; 1023if (elem.SchemaType != null) 1025effectiveSchemaType = elem.SchemaType; 2423newElement.SchemaType = copyElement.SchemaType;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (6)
1369element.SchemaType != null || 1434if (element.SchemaType != null) 1436SetParent(element.SchemaType, element); //Set parent for simple / complex type child of element 1441if (element.SchemaType is XmlSchemaComplexType) 1443PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1447PreprocessSimpleType((XmlSchemaSimpleType)element.SchemaType, true);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (5)
369if (element.SchemaType != null) 371XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 378CleanupSimpleType((XmlSchemaSimpleType)element.SchemaType); 2290if (xe.SchemaType != null) 2292xe.SetElementType(xe.SchemaType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (6)
1016element.SchemaType != null || 1081if (element.SchemaType != null) 1083SetParent(element.SchemaType, element); //Set parent for simple / complex type child of element 1088if (element.SchemaType is XmlSchemaComplexType) 1090PreprocessComplexType((XmlSchemaComplexType)element.SchemaType, true); 1094PreprocessSimpleType((XmlSchemaSimpleType)element.SchemaType, true);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
371if (element.SchemaType != null) 373XmlSchemaComplexType complexType = element.SchemaType as XmlSchemaComplexType; 380CleanupSimpleType((XmlSchemaSimpleType)element.SchemaType); 2721if (xe.SchemaType != null) 2723xe.SetElementType(xe.SchemaType);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
1438if (builder._element.SchemaType != null) 1599if (builder._element.SchemaType != null)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
471Depends(el.SchemaType, refs);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (2)
1320if (e1.SchemaType != e2.SchemaType)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (4)
1019if (o.SchemaType is XmlSchemaComplexType) 1021Write35_XmlSchemaComplexType((XmlSchemaComplexType)o.SchemaType); 1023else if (o.SchemaType is XmlSchemaSimpleType) 1025Write9_XmlSchemaSimpleType((XmlSchemaSimpleType)o.SchemaType);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (5)
194else if (element.SchemaType != null) 197if (element.SchemaType is XmlSchemaComplexType) 199mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, false); 429if (element.SchemaType == null) return null; 431XmlSchemaType type = element.SchemaType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (8)
388else if (element.SchemaType != null) 390if (element.SchemaType is XmlSchemaComplexType) 391mapping = ImportType((XmlSchemaComplexType)element.SchemaType, ns, identifier, desiredMappingType, baseType, TypeFlags.CanBeElementValue); 393mapping = ImportDataType((XmlSchemaSimpleType)element.SchemaType, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false); 415RunSchemaExtensions(mapping, element.SchemaTypeName, element.SchemaType, element, TypeFlags.CanBeElementValue); 1347if (element.SchemaType == null) return null; 1349XmlSchemaType type = element.SchemaType; 1449XmlSchemaType refType = refElement.SchemaType;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (7)
91if (element.SchemaType != null) 383if (element.SchemaType == null) 386return ImportType(element.SchemaType, typeQName, true/*isAnonymous*/); 949if (topLevelElement.SchemaType != null) 983if (element.SchemaType != null) 1081if (element.SchemaType != null) 1121if (element.SchemaType != null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
1208if (element.SchemaType != null) 1252if (schemaElement.SchemaType != null) 1254schemaType = schemaElement.SchemaType;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (5)
27if (element.SchemaType == existingElement.SchemaType && element.SchemaTypeName == existingElement.SchemaTypeName) 95if (element.SchemaType != null) 109if (e1.SchemaType != null || e2.SchemaType != null)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (6)
2874if (o.@SchemaType is Microsoft.Xml.Schema.XmlSchemaComplexType) 2876Write62_XmlSchemaComplexType(@"complexType", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaComplexType)o.@SchemaType), false, false); 2878else if (o.@SchemaType is Microsoft.Xml.Schema.XmlSchemaSimpleType) 2880Write34_XmlSchemaSimpleType(@"simpleType", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.XmlSchemaSimpleType)o.@SchemaType), false, false); 2884if (o.@SchemaType != null) 2886throw CreateUnknownTypeException(o.@SchemaType);