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