40 references to IsNode
System.Private.Xml (40)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
774return !typ.IsNode || (typ.NodeKinds & ~(XmlNodeKindFlags.Attribute | XmlNodeKindFlags.Namespace)) != XmlNodeKindFlags.None;
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
5206if (nd.XmlType!.IsNode)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (6)
3241if (!typBase.IsNode || !typBase.IsSingleton) 3245if (!typDerived.IsNode || !typDerived.IsSingleton || !typDerived.IsNotRtf) 3439Debug.Assert(ndVal.Child.XmlType!.IsNode, "XPathNodeValue node may only be applied to a sequence of Nodes."); 3751Debug.Assert(ndCopy.Left.XmlType!.IsNode); 3763Debug.Assert(ndCopy.Left.XmlType.IsNode); 4059_iterCurr.EnsureNoStackNoCache(nd.XmlType!.IsNode ? "$$$navInput" : "$$$itemInput");
System\Xml\Xsl\XmlQueryType.cs (1)
565if (IsNode)
System\Xml\Xsl\XmlQueryTypeFactory.cs (2)
758else if (IsNode && t.IsNode)
System\Xml\Xsl\XPath\XPathBuilder.cs (9)
81if (result.XmlType!.MaybeMany && result.XmlType.IsNode && result.XmlType.IsNotRtf) 222else if (leftType.IsNode && rightType.IsNode) 226else if (leftType.IsNode) 230else if (rightType.IsNode) 255else if (leftType.IsNode && rightType.IsNode) 259else if (leftType.IsNode) 264else if (rightType.IsNode)
System\Xml\Xsl\XPath\XPathQilFactory.cs (11)
40bool result = !(xt!.IsStrict || xt.IsNode); 48Debug.Assert(n != null && n.XmlType!.IsSingleton && n.XmlType.IsNode, "Must be a singleton node"); 54Debug.Assert(n != null && n.XmlType!.IsNode, "Must be a node-set"); 60Debug.Assert(n != null && n.XmlType!.IsSingleton && n.XmlType.IsNode && n.XmlType.IsNotRtf, "Must be a singleton node and not an Rtf"); 101if (xt.IsNode && xt.IsNotRtf) 205if (n.XmlType.IsNode) 235if (n.XmlType.IsNode) 261if (n.XmlType.IsNode) 273if (n.XmlType!.IsNode && n.XmlType.IsNotRtf && n.XmlType.IsSingleton) 282if (n.XmlType!.IsNode && n.XmlType.IsNotRtf) 293if (n.XmlType!.IsNode && n.XmlType.IsNotRtf)
System\Xml\Xsl\Xslt\QilGenerator.cs (3)
1338if (selectExpr.XmlType!.IsNode) 2589if (valueType.IsNode && paramType.IsNode && valueType.IsSubtypeOf(paramType))
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (5)
89if (var.NodeType == QilNodeType.Parameter && varType.IsNode && varType.IsNotRtf && varType.MaybeMany && !varType.IsDod) 380if (keys.XmlType!.IsNode) 501if (uris.XmlType!.IsNode) 725if (n.XmlType!.IsNode && n.XmlType.IsNotRtf) 747if (n.XmlType.IsNode && n.XmlType.IsNotRtf)
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
37Debug.Assert(xt.IsNode, $"Unexpected expression type: {xt}");