45 references to ElementSchemaType
dotnet-svcutil-lib (45)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
121
Debug.Assert(schemaElement.
ElementSchemaType
== schemaInfo.SchemaType);
685
complexType = schemaElement.
ElementSchemaType
as XmlSchemaComplexType;
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
1016
if (!bCreatingNewType && elem.
ElementSchemaType
!= null)
1018
effectiveSchemaType = elem.
ElementSchemaType
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (19)
252
if (element.
ElementSchemaType
is XmlSchemaComplexType && element.SchemaTypeName == XmlQualifiedName.Empty)
254
CheckParticleDerivation((XmlSchemaComplexType)element.
ElementSchemaType
);
481
if (!XmlSchemaType.IsDerivedFrom(element.
ElementSchemaType
, examplar.
ElementSchemaType
, examplar.FinalResolved))
1418
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1419
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~XmlSchemaDerivationMethod.Restriction);
2285
xe.SetElementType(e.
ElementSchemaType
);
2297
if (xe.
ElementSchemaType
== null)
2321
xe.SetElementType(examplar.
ElementSchemaType
);
2333
Debug.Assert(xe.
ElementSchemaType
!= null);
2334
if (xe.
ElementSchemaType
is XmlSchemaComplexType)
2336
XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.
ElementSchemaType
;
2344
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType)
2346
XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)xe.
ElementSchemaType
;
2356
XmlSchemaComplexType ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
2680
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (19)
251
XmlSchemaComplexType localComplexType = element.
ElementSchemaType
as XmlSchemaComplexType;
446
if (!XmlSchemaType.IsDerivedFrom(element.
ElementSchemaType
, headElement.
ElementSchemaType
, headElement.FinalResolved))
1147
XmlSchemaComplexType localComplexType = localElement.
ElementSchemaType
as XmlSchemaComplexType;
1656
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1657
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))))
2716
xe.SetElementType(e.
ElementSchemaType
);
2728
if (xe.
ElementSchemaType
== null)
2752
xe.SetElementType(examplar.
ElementSchemaType
);
2764
Debug.Assert(xe.
ElementSchemaType
!= null);
2765
if (xe.
ElementSchemaType
is XmlSchemaComplexType)
2767
XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.
ElementSchemaType
;
2775
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType)
2777
XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)xe.
ElementSchemaType
;
2788
XmlSchemaComplexType ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
3125
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
1430
if (!XmlSchemaType.IsDerivedFrom(memberElem.
ElementSchemaType
, headElem.
ElementSchemaType
, headElem.BlockResolved))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
691
return CheckAndAddPart(element.
ElementSchemaType
.QualifiedName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply);