21 references to Let
System.Private.Xml (21)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
53
if (ndLoop.Variable.NodeType == QilNodeType.
Let
|| !ndLoop.Variable.Binding!.XmlType!.MaybeMany)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
530
case QilNodeType.
Let
:
568
case QilNodeType.
Let
:
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (5)
132
if (newNode.NodeType == QilNodeType.
Let
|| newNode.NodeType == QilNodeType.For)
220
if (node.NodeType != QilNodeType.
Let
|| !_qil.GlobalVariableList.Contains(node))
2715
if ((((local1).NodeType == QilNodeType.
Let
) || ((((QilNode)(local1)[0]).XmlType!).IsSingleton)) && (!OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects)))
5155
if (nd.NodeType == QilNodeType.
Let
)
5639
Debug.Assert(nd.NodeType == QilNodeType.
Let
|| nd.NodeType == QilNodeType.Parameter, "Unexpected type of a global");
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
93
Debug.Assert(iter.NodeType == QilNodeType.
Let
|| iter.NodeType == QilNodeType.Parameter);
2123
Debug.Assert(ndIter.NodeType == QilNodeType.
Let
|| ndIter.NodeType == QilNodeType.Parameter);
4929
case QilNodeType.
Let
:
System\Xml\Xsl\QIL\QilFactory.cs (1)
224
QilIterator n = new QilIterator(QilNodeType.
Let
, binding);
System\Xml\Xsl\QIL\QilTypeChecker.cs (5)
45
QilNodeType.
Let
=> CheckLet((QilIterator)n),
186
CheckClassAndNodeType(child, typeof(QilIterator), QilNodeType.
Let
);
596
Check(node.Variable.NodeType == QilNodeType.For || node.Variable.NodeType == QilNodeType.
Let
, node, "Loop variable must be a For or Let iterator");
599
XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.
Let
? XmlQueryCardinality.One : node.Variable.Binding!.XmlType!.Cardinality;
608
Check(node.Variable.NodeType == QilNodeType.For || node.Variable.NodeType == QilNodeType.
Let
, node, "Filter variable must be a For or Let iterator");
System\Xml\Xsl\QIL\QilVisitor.cs (3)
67
case QilNodeType.
Let
:
128
QilNodeType.
Let
=> VisitLet((QilIterator)n),
250
QilNodeType.
Let
=> VisitLetReference((QilIterator)n),
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2869
Debug.Assert(let.NodeType == QilNodeType.
Let
);