19 writes to SchemaType
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaExporter.cs (2)
188
element.
SchemaType
= xmlDataContract.XsdType;
396
element.
SchemaType
= keyValueType;
System\Runtime\Serialization\SchemaImporter.cs (1)
144
element.
SchemaType
= new XmlSchemaComplexType();
System.Private.Xml (16)
System\Xml\Schema\Inference\Infer.cs (3)
904
xse.
SchemaType
= ct;
1232
xse.
SchemaType
= ct;
2403
newElement.
SchemaType
= copyElement.SchemaType;
System\Xml\Schema\XmlSchemaValidator.cs (1)
2124
xsiElement.
SchemaType
= currentDecl.SchemaType;
System\Xml\Schema\XsdBuilder.cs (2)
1439
builder._element.
SchemaType
= builder._simpleType;
1602
builder._element.
SchemaType
= builder._complexType;
System\Xml\Serialization\XmlSchemaExporter.cs (9)
375
element.
SchemaType
= ExportAnonymousPrimitiveMapping(pm);
387
element.
SchemaType
= ExportMembersMapping((MembersMapping)mapping, ns);
431
element.
SchemaType
= type;
467
element.
SchemaType
= type;
488
element.
SchemaType
= type;
514
element.
SchemaType
= type;
532
element.
SchemaType
= type;
639
element.
SchemaType
= type;
1026
element.
SchemaType
= type;
System\Xml\Serialization\XmlSchemas.cs (1)
741
element.
SchemaType
= type;
58 references to SchemaType
System.Data.Common (9)
System\Data\XMLSchema.cs (9)
544
if (isChoice && pt.MaxOccurs > decimal.One && (((XmlSchemaElement)el).
SchemaType
is XmlSchemaComplexType)) // we know frominference condition
549
if (!FromInference || (((XmlSchemaElement)el).MaxOccurs != decimal.One && !(((XmlSchemaElement)el).
SchemaType
is XmlSchemaComplexType)))
596
XmlSchemaComplexType? ct = node.
SchemaType
as XmlSchemaComplexType;
910
if (FromInference && pt is XmlSchemaChoice && pt.MaxOccurs > decimal.One && (el.
SchemaType
is XmlSchemaComplexType))
1480
XmlSchemaComplexType? ct = node.
SchemaType
as XmlSchemaComplexType;
1945
typeNode = isAttr ? attr!.SchemaType : el!.
SchemaType
;
2650
if (node.ElementSchemaType != null || !(((XmlSchemaElement)el).
SchemaType
is XmlSchemaComplexType))
2681
if (((XmlSchemaParticle)el).MaxOccurs > decimal.One && (((XmlSchemaElement)choiceEl).
SchemaType
is XmlSchemaComplexType)) // amir
2683
if ((((XmlSchemaElement)choiceEl).RefName.Name.Length != 0) && (!FromInference && ((XmlSchemaElement)choiceEl).MaxOccurs != decimal.One && !(((XmlSchemaElement)choiceEl).
SchemaType
is XmlSchemaComplexType)))
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\SchemaImporter.cs (7)
87
if (element.
SchemaType
!= null)
376
if (element.
SchemaType
== null)
379
return ImportType(element.
SchemaType
, typeQName, true/*isAnonymous*/);
931
if (topLevelElement.
SchemaType
!= null)
973
if (element.
SchemaType
!= null)
1078
if (element.
SchemaType
!= null)
1118
if (element.
SchemaType
!= null)
System.Private.Xml (42)
System\Xml\Schema\Inference\Infer.cs (4)
655
ct = xse.
SchemaType
as XmlSchemaComplexType;
1004
if (elem.
SchemaType
!= null)
1006
effectiveSchemaType = elem.
SchemaType
;
2403
newElement.SchemaType = copyElement.
SchemaType
;
System\Xml\Schema\Preprocessor.cs (6)
1336
element.
SchemaType
!= null ||
1401
if (element.
SchemaType
!= null)
1403
SetParent(element.
SchemaType
, element); //Set parent for simple / complex type child of element
1408
if (element.
SchemaType
is XmlSchemaComplexType)
1410
PreprocessComplexType((XmlSchemaComplexType)element.
SchemaType
, true);
1414
PreprocessSimpleType((XmlSchemaSimpleType)element.
SchemaType
, true);
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
380
if (element.
SchemaType
!= null)
382
XmlSchemaComplexType? complexType = element.
SchemaType
as XmlSchemaComplexType;
389
CleanupSimpleType((XmlSchemaSimpleType)element.
SchemaType
);
2209
if (xe.
SchemaType
!= null)
2211
xe.SetElementType(xe.
SchemaType
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (6)
1009
element.
SchemaType
!= null ||
1074
if (element.
SchemaType
!= null)
1076
SetParent(element.
SchemaType
, element); //Set parent for simple / complex type child of element
1081
if (element.
SchemaType
is XmlSchemaComplexType)
1083
PreprocessComplexType((XmlSchemaComplexType)element.
SchemaType
, true);
1087
PreprocessSimpleType((XmlSchemaSimpleType)element.
SchemaType
, true);
System\Xml\Schema\SchemaSetCompiler.cs (5)
385
if (element.
SchemaType
!= null)
387
XmlSchemaComplexType? complexType = element.
SchemaType
as XmlSchemaComplexType;
394
CleanupSimpleType((XmlSchemaSimpleType)element.
SchemaType
);
2668
if (xe.
SchemaType
!= null)
2670
xe.SetElementType(xe.
SchemaType
);
System\Xml\Schema\XsdBuilder.cs (2)
1431
if (builder._element!.
SchemaType
!= null)
1594
if (builder._element!.
SchemaType
!= null)
System\Xml\Serialization\ImportContext.cs (1)
386
Depends(el.
SchemaType
, refs);
System\Xml\Serialization\Mappings.cs (2)
1252
if (e1.
SchemaType
!= e2.
SchemaType
)
System\Xml\Serialization\SchemaObjectWriter.cs (4)
1017
if (o.
SchemaType
is XmlSchemaComplexType)
1019
Write35_XmlSchemaComplexType((XmlSchemaComplexType)o.
SchemaType
);
1021
else if (o.
SchemaType
is XmlSchemaSimpleType)
1023
Write9_XmlSchemaSimpleType((XmlSchemaSimpleType)o.
SchemaType
);
System\Xml\Serialization\XmlSchemaImporter.cs (7)
343
else if (element.
SchemaType
!= null)
345
if (element.
SchemaType
is XmlSchemaComplexType)
346
mapping = ImportType((XmlSchemaComplexType)element.
SchemaType
, ns, identifier, desiredMappingType, baseType);
348
mapping = ImportDataType((XmlSchemaSimpleType)element.
SchemaType
, ns, identifier, baseType, TypeFlags.CanBeElementValue | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeTextValue, false)!;
1243
if (element.
SchemaType
== null) return null;
1245
XmlSchemaType type = element.
SchemaType
;
1346
XmlSchemaType? refType = refElement.
SchemaType
;