35 references to IsSubtypeOf
System.Data.SqlXml (35)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (7)
2618
if (( !OptimizerPatterns.Read(local2).MatchesPattern(OptimizerPatternName.IsPositional) ) && ( (local3).XmlType .
IsSubtypeOf
( XmlQueryTypeFactory.NodeNotRtfS ) )) {
2709
if (( (local0).XmlType .
IsSubtypeOf
( XmlQueryTypeFactory.NodeS ) ) && (this[XmlILOptimization.AnnotateIndex1])) {
2710
if ((( local1.Count == 2 ) && ( ( (QilNode) (local1)[0] ).XmlType .
IsSubtypeOf
( XmlQueryTypeFactory.Node ) )) && ( ( ( (QilNode) (local1)[1] ).XmlType ) == ( XmlQueryTypeFactory.StringX ) )) {
2765
if (( (local0).XmlType .
IsSubtypeOf
( XmlQueryTypeFactory.NodeS ) ) && (this[XmlILOptimization.AnnotateIndex2])) {
3417
if ( (local1).XmlType .
IsSubtypeOf
(local3) ) {
3443
if ( (local1).XmlType .
IsSubtypeOf
(local3) ) {
3480
if ( (local1).XmlType .
IsSubtypeOf
(local3) ) {
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (1)
3390
Debug.Assert(ndActualArg.XmlType.
IsSubtypeOf
(xmlTypeFormalArg), "Xml type of actual arg must be a subtype of the Xml type of the formal arg");
System\Xml\Xsl\QIL\QilReplaceVisitor.cs (1)
79
Debug.Assert(newType.
IsSubtypeOf
(XmlQueryTypeFactory.AtMost(oldType, oldType.Cardinality)), "Replace shouldn't relax original type");
System\Xml\Xsl\QIL\QilTypeChecker.cs (7)
268
Check(node.Binding == null || node.Binding.XmlType.
IsSubtypeOf
(node.XmlType), node, "Parameter binding's xml type must be a subtype of the parameter's type");
472
Check(node.Right.XmlType.
IsSubtypeOf
(XmlQueryTypeFactory.StringX) || node.Right.XmlType.
IsSubtypeOf
(XmlQueryTypeFactory.NamespaceS),
596
Check(node.Definition.XmlType.
IsSubtypeOf
(node.XmlType), node, "Function definition's xml type must be a subtype of the function's return type");
920
Check(node.XmlType.
IsSubtypeOf
(xmlType), node, "Node's type " + node.XmlType + " is not a subtype of " + xmlType);
940
Check(node.Left.XmlType.
IsSubtypeOf
(node.Right.XmlType) || node.Right.XmlType.
IsSubtypeOf
(node.Left.XmlType), node,
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
679
if (!CreateXmlType(seq[0]).
IsSubtypeOf
(typBase))
690
return CreateXmlType(item).
IsSubtypeOf
(GetXmlType(indexType));
System\Xml\Xsl\XmlQueryType.cs (2)
539
else if (this.
IsSubtypeOf
(other) || other.
IsSubtypeOf
(this)) {
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
270
if (itemType.
IsSubtypeOf
(accumulator[i])) {
275
if (accumulator[i].
IsSubtypeOf
(itemType)) {
System\Xml\Xsl\XPath\XPathQilFactory.cs (4)
67
Debug.Assert(n != null && n.XmlType.
IsSubtypeOf
(T.StringX), "Must be a singleton string");
72
Debug.Assert(n != null && n.XmlType.
IsSubtypeOf
(T.StringXS), "Must be a sequence of strings");
77
Debug.Assert(n != null && n.XmlType.
IsSubtypeOf
(T.DoubleX), "Must be a singleton Double");
82
Debug.Assert(n != null && n.XmlType.
IsSubtypeOf
(T.BooleanX), "Must be a singleton Bool");
System\Xml\Xsl\Xslt\InvokeGenerator.cs (1)
76
if (!invokeType.
IsSubtypeOf
(formalType)) {
System\Xml\Xsl\Xslt\QilGenerator.cs (3)
380
Debug.Assert(var.XmlType.
IsSubtypeOf
(T.NamespaceS));
2157
if (valueType.IsNode && paramType.IsNode && valueType.
IsSubtypeOf
(paramType)) {
2357
Debug.Assert(nsVar.XmlType.
IsSubtypeOf
(T.NamespaceS));
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (2)
51
Debug.Assert(filter.Variable.XmlType.
IsSubtypeOf
(T.NodeNotRtf));
53
Debug.Assert(filter.Body.XmlType.
IsSubtypeOf
(T.Boolean));
System\Xml\Xsl\Xslt\XsltQilFactory.cs (3)
47
Debug.Assert(n != null && n.XmlType.
IsSubtypeOf
(T.QNameX), "Must be a singleton QName");
119
value.XmlType.
IsSubtypeOf
(T.IntXS) ||
120
value.XmlType.
IsSubtypeOf
(T.DoubleX)),