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