42 references to ElementSchemaType
System.Data.Common (2)
System\Data\XMLSchema.cs (2)
1483
bool isSimpleContent = ((node.
ElementSchemaType
!.BaseXmlSchemaType != null) || (ct != null && ct.ContentModel is XmlSchemaSimpleContent));
2650
if (node.
ElementSchemaType
!= null || !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType))
System.Private.Xml (40)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
115
Debug.Assert(schemaElement.
ElementSchemaType
== schemaInfo.SchemaType);
660
complexType = schemaElement.
ElementSchemaType
as XmlSchemaComplexType;
System\Xml\Schema\Inference\Infer.cs (2)
997
if (!bCreatingNewType && elem.
ElementSchemaType
!= null)
999
effectiveSchemaType = elem.
ElementSchemaType
;
System\Xml\Schema\SchemaCollectionCompiler.cs (17)
265
if (element!.
ElementSchemaType
is XmlSchemaComplexType && element.SchemaTypeName == XmlQualifiedName.Empty)
267
CheckParticleDerivation((XmlSchemaComplexType)element.
ElementSchemaType
);
494
if (!XmlSchemaType.IsDerivedFrom(element!.
ElementSchemaType
, examplar.
ElementSchemaType
, examplar.FinalResolved))
1416
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1417
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~XmlSchemaDerivationMethod.Restriction);
2204
xe.SetElementType(e.
ElementSchemaType
);
2216
if (xe.
ElementSchemaType
== null)
2240
xe.SetElementType(examplar.
ElementSchemaType
);
2252
Debug.Assert(xe.
ElementSchemaType
!= null);
2253
if (xe.
ElementSchemaType
is XmlSchemaComplexType complexType)
2262
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType simpleType)
2274
XmlSchemaComplexType? ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
2586
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
)
System\Xml\Schema\SchemaSetCompiler.cs (17)
264
XmlSchemaComplexType? localComplexType = element!.
ElementSchemaType
as XmlSchemaComplexType;
461
if (!XmlSchemaType.IsDerivedFrom(element.
ElementSchemaType
, headElement.
ElementSchemaType
, headElement.FinalResolved))
1154
XmlSchemaComplexType? localComplexType = localElement.
ElementSchemaType
as XmlSchemaComplexType;
1672
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1673
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))))
2663
xe.SetElementType(e.
ElementSchemaType
);
2675
if (xe.
ElementSchemaType
== null)
2699
xe.SetElementType(examplar.
ElementSchemaType
);
2711
Debug.Assert(xe.
ElementSchemaType
!= null);
2712
if (xe.
ElementSchemaType
is XmlSchemaComplexType complexType)
2721
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType simpleType)
2733
XmlSchemaComplexType? ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
2968
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
)
System\Xml\Schema\XmlSchemaValidator.cs (2)
1404
if (!XmlSchemaType.IsDerivedFrom(memberElem.
ElementSchemaType
, headElem.
ElementSchemaType
, headElem.BlockResolved))