13 references to IsDerivedFrom
System.Data.SqlXml (3)
System\Xml\Xsl\XmlQueryType.cs (3)
512
(baseSchemaType == XmlSchemaComplexType.AnyType || XmlSchemaType.
IsDerivedFrom
(SchemaType, baseSchemaType, /* except:*/XmlSchemaDerivationMethod.Empty)) &&
532
if (!XmlSchemaType.
IsDerivedFrom
(this.SchemaType, other.SchemaType, /* except:*/XmlSchemaDerivationMethod.Empty) &&
533
!XmlSchemaType.
IsDerivedFrom
(other.SchemaType, this.SchemaType, /* except:*/XmlSchemaDerivationMethod.Empty)) {
System.Xml (10)
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
385
if (!XmlSchemaType.
IsDerivedFrom
(element.ElementSchemaType, examplar.ElementSchemaType, examplar.FinalResolved)) {
1123
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~XmlSchemaDerivationMethod.Restriction);
1515
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty)) {
System\Xml\Schema\SchemaSetCompiler.cs (4)
358
if (!XmlSchemaType.
IsDerivedFrom
(element.ElementSchemaType, headElement.ElementSchemaType, headElement.FinalResolved)) {
1312
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))) ) {
1797
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty)) {
1851
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty)) {
System\Xml\Schema\XmlSchemaValidator.cs (2)
1197
if (!XmlSchemaType.
IsDerivedFrom
(memberElem.ElementSchemaType, headElem.ElementSchemaType, headElem.BlockResolved)) {
1441
else if (elementDecl != null && !XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType,elementDecl.SchemaType,elementDecl.Block)) {
System\Xml\Schema\XsdValidator.cs (1)
347
else if (!XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType,elementDecl.SchemaType,elementDecl.Block)) {