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