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