10 references to IsDerivedFrom
dotnet-svcutil-lib (10)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (3)
481
if (!XmlSchemaType.
IsDerivedFrom
(element.ElementSchemaType, examplar.ElementSchemaType, examplar.FinalResolved))
1419
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~XmlSchemaDerivationMethod.Restriction);
1912
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (4)
446
if (!XmlSchemaType.
IsDerivedFrom
(element.ElementSchemaType, headElement.ElementSchemaType, headElement.FinalResolved))
1657
XmlSchemaType.
IsDerivedFrom
(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~(XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))))
2259
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
2327
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.
IsDerivedFrom
(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType, XmlSchemaDerivationMethod.Empty))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
1430
if (!XmlSchemaType.
IsDerivedFrom
(memberElem.ElementSchemaType, headElem.ElementSchemaType, headElem.BlockResolved))
1734
else if (elementDecl != null && !XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType, elementDecl.SchemaType, elementDecl.Block))
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
421
else if (!XmlSchemaType.
IsDerivedFrom
(elementDeclXsi.SchemaType, elementDecl.SchemaType, elementDecl.Block))