13 references to IsDerivedFrom
System.Private.Xml (13)
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
494
if (!XmlSchemaType.
IsDerivedFrom
(element!.ElementSchemaType, examplar.ElementSchemaType, examplar.FinalResolved))
1417
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~XmlSchemaDerivationMethod.Restriction);
1901
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
System\Xml\Schema\SchemaSetCompiler.cs (4)
461
if (!XmlSchemaType.
IsDerivedFrom
(element.ElementSchemaType, headElement.ElementSchemaType, headElement.FinalResolved))
1673
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))))
2266
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
2326
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
System\Xml\Schema\XmlSchemaValidator.cs (2)
1404
if (!XmlSchemaType.
IsDerivedFrom
(memberElem.ElementSchemaType, headElem.ElementSchemaType, headElem.BlockResolved))
1714
else if (elementDecl != null && !XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType, elementDecl.SchemaType, elementDecl.Block))
System\Xml\Schema\XsdValidator.cs (1)
413
else if (!XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType, elementDecl.SchemaType, elementDecl.Block))
System\Xml\Xsl\XmlQueryType.cs (3)
518
(baseSchemaType == XmlSchemaComplexType.AnyType || XmlSchemaType.
IsDerivedFrom
(SchemaType, baseSchemaType, /* except:*/XmlSchemaDerivationMethod.Empty)) &&
540
if (!XmlSchemaType.
IsDerivedFrom
(this.SchemaType, other.SchemaType, /* except:*/XmlSchemaDerivationMethod.Empty) &&
541
!XmlSchemaType.
IsDerivedFrom
(other.SchemaType, this.SchemaType, /* except:*/XmlSchemaDerivationMethod.Empty))