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