59 references to ElementSchemaType
System.Data (2)
fx\src\data\System\Data\XMLSchema.cs (2)
1271
bool isSimpleContent = ((node.
ElementSchemaType
.BaseXmlSchemaType != null) ||(ct != null && ct.ContentModel is XmlSchemaSimpleContent));
2286
if (node.
ElementSchemaType
!= null || !(((XmlSchemaElement)el).SchemaType is XmlSchemaComplexType)) {
System.Data.Services.Design (1)
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
386
XmlSchemaComplexType schemaComplexType = schemaInfo.SchemaElement.
ElementSchemaType
as XmlSchemaComplexType;
System.ServiceModel (1)
System\ServiceModel\Description\MessageContractImporter.cs (1)
702
return CheckAndAddPart(element.
ElementSchemaType
.QualifiedName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply);
System.ServiceModel.Web (11)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (11)
256
InvokeHandler(contentElement.
ElementSchemaType
, context);
407
InvokeHandler(contentElement.
ElementSchemaType
, context);
741
if (element.
ElementSchemaType
is XmlSchemaComplexType)
745
e.
ElementSchemaType
!= element.
ElementSchemaType
&&
746
e.
ElementSchemaType
is XmlSchemaComplexType &&
747
DerivesFrom((XmlSchemaComplexType)element.
ElementSchemaType
, (XmlSchemaComplexType)e.
ElementSchemaType
)).OrderBy(e => e.Name))
772
if (element.
ElementSchemaType
is XmlSchemaComplexType)
774
XmlSchemaComplexType complexType = element.
ElementSchemaType
as XmlSchemaComplexType;
793
return element.
ElementSchemaType
is XmlSchemaComplexType;
System.Xml (44)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
113
Debug.Assert(schemaElement.
ElementSchemaType
== schemaInfo.SchemaType);
589
complexType = schemaElement.
ElementSchemaType
as XmlSchemaComplexType;
System\Xml\Schema\Inference\Infer.cs (2)
1012
if (!bCreatingNewType && elem.
ElementSchemaType
!= null) {
1013
effectiveSchemaType = elem.
ElementSchemaType
;
System\Xml\Schema\SchemaCollectionCompiler.cs (19)
204
if (element.
ElementSchemaType
is XmlSchemaComplexType && element.SchemaTypeName == XmlQualifiedName.Empty) { // only local schemaTypes
205
CheckParticleDerivation((XmlSchemaComplexType)element.
ElementSchemaType
);
385
if (!XmlSchemaType.IsDerivedFrom(element.
ElementSchemaType
, examplar.
ElementSchemaType
, examplar.FinalResolved)) {
1122
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1123
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~XmlSchemaDerivationMethod.Restriction);
1812
xe.SetElementType(e.
ElementSchemaType
);
1821
if (xe.
ElementSchemaType
== null) {
1839
xe.SetElementType(examplar.
ElementSchemaType
);
1849
Debug.Assert(xe.
ElementSchemaType
!= null);
1850
if (xe.
ElementSchemaType
is XmlSchemaComplexType) {
1851
XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.
ElementSchemaType
;
1858
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType) {
1859
XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)xe.
ElementSchemaType
;
1868
XmlSchemaComplexType ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
2121
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
) {
System\Xml\Schema\SchemaSetCompiler.cs (19)
203
XmlSchemaComplexType localComplexType = element.
ElementSchemaType
as XmlSchemaComplexType;
358
if (!XmlSchemaType.IsDerivedFrom(element.
ElementSchemaType
, headElement.
ElementSchemaType
, headElement.FinalResolved)) {
911
XmlSchemaComplexType localComplexType = localElement.
ElementSchemaType
as XmlSchemaComplexType;
1311
(derivedElement.
ElementSchemaType
!= null) && (baseElement.
ElementSchemaType
!= null) &&
1312
XmlSchemaType.IsDerivedFrom(derivedElement.
ElementSchemaType
, baseElement.
ElementSchemaType
, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))) ) {
2158
xe.SetElementType(e.
ElementSchemaType
);
2167
if (xe.
ElementSchemaType
== null) {
2185
xe.SetElementType(examplar.
ElementSchemaType
);
2195
Debug.Assert(xe.
ElementSchemaType
!= null);
2196
if (xe.
ElementSchemaType
is XmlSchemaComplexType) {
2197
XmlSchemaComplexType complexType = (XmlSchemaComplexType)xe.
ElementSchemaType
;
2204
else if (xe.
ElementSchemaType
is XmlSchemaSimpleType) {
2205
XmlSchemaSimpleType simpleType = (XmlSchemaSimpleType)xe.
ElementSchemaType
;
2215
XmlSchemaComplexType ct = xe.
ElementSchemaType
as XmlSchemaComplexType;
2478
if (element.
ElementSchemaType
!= localElement.
ElementSchemaType
) {
System\Xml\Schema\XmlSchemaValidator.cs (2)
1197
if (!XmlSchemaType.IsDerivedFrom(memberElem.
ElementSchemaType
, headElem.
ElementSchemaType
, headElem.BlockResolved)) {