21 references to Let
System.Data.SqlXml (21)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
51
if (ndLoop.Variable.NodeType == QilNodeType.
Let
|| !ndLoop.Variable.Binding.XmlType.MaybeMany)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
481
case QilNodeType.
Let
:
517
case QilNodeType.
Let
:
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (5)
124
if (newNode.NodeType == QilNodeType.
Let
|| newNode.NodeType == QilNodeType.For) {
201
if (node.NodeType != QilNodeType.
Let
|| !this.qil.GlobalVariableList.Contains(node))
2058
if ((( (local1).NodeType == QilNodeType.
Let
) || ( ( ( (QilNode) (local1)[0] ).XmlType ).IsSingleton )) && ( !OptimizerPatterns.Read(local1).MatchesPattern(OptimizerPatternName.MaybeSideEffects) )) {
3901
if (nd.NodeType == QilNodeType.
Let
)
4333
Debug.Assert(nd.NodeType == QilNodeType.
Let
|| nd.NodeType == QilNodeType.Parameter, "Unexpected type of a global");
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
85
Debug.Assert(iter.NodeType == QilNodeType.
Let
|| iter.NodeType == QilNodeType.Parameter);
1965
Debug.Assert(ndIter.NodeType == QilNodeType.
Let
|| ndIter.NodeType == QilNodeType.Parameter);
4551
case QilNodeType.
Let
:
System\Xml\Xsl\QIL\QilFactory.cs (1)
240
QilIterator n = new QilIterator(QilNodeType.
Let
, binding);
System\Xml\Xsl\QIL\QilTypeChecker.cs (5)
49
case QilNodeType.
Let
: return CheckLet((QilIterator)n);
187
CheckClassAndNodeType(child, typeof(QilIterator), QilNodeType.
Let
);
538
Check(node.Variable.NodeType == QilNodeType.For || node.Variable.NodeType == QilNodeType.
Let
, node, "Loop variable must be a For or Let iterator");
541
XmlQueryCardinality variableCard = node.Variable.NodeType == QilNodeType.
Let
? XmlQueryCardinality.One : node.Variable.Binding.XmlType.Cardinality;
549
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)
63
case QilNodeType.
Let
:
121
case QilNodeType.
Let
: return VisitLet((QilIterator)n);
241
case QilNodeType.
Let
: return VisitLetReference((QilIterator)n);
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
2394
Debug.Assert(let.NodeType == QilNodeType.
Let
);