45 references to Variable
System.Data.SqlXml (45)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (2)
51
if (ndLoop.
Variable
.NodeType == QilNodeType.Let || !ndLoop.
Variable
.Binding.XmlType.MaybeMany)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (14)
1730
StartBinding(ndLoop.
Variable
);
1735
EndBinding(ndLoop.
Variable
);
1750
StartBinding(ndFilter.
Variable
);
1761
EndBinding(ndFilter.
Variable
);
2097
Debug.Assert(ndSort.
Variable
.NodeType == QilNodeType.For);
2116
StartNestedIterator(ndSort.
Variable
, lblOnEndSort);
2117
StartBinding(ndSort.
Variable
);
2122
this.iterCurr.EnsureItemStorageType(ndSort.
Variable
.XmlType, GetItemStorageType(ndSort.
Variable
));
2149
EndBinding(ndSort.
Variable
);
2150
EndNestedIterator(ndSort.
Variable
);
3711
StartBinding(ndLoop.
Variable
);
3712
EndBinding(ndLoop.
Variable
);
3713
EndNestedIterator(ndLoop.
Variable
);
System\Xml\Xsl\QIL\QilScopedVisitor.cs (2)
57
BeginScope(((QilLoop) node).
Variable
);
86
EndScope(((QilLoop) node).
Variable
);
System\Xml\Xsl\QIL\QilTypeChecker.cs (10)
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");
553
XmlQueryType filterType = FindFilterType(node.
Variable
, node.Body);
557
return XmlQueryTypeFactory.AtMost(node.
Variable
.Binding.XmlType, node.
Variable
.Binding.XmlType.Cardinality);
567
XmlQueryType varType = node.
Variable
.Binding.XmlType;
System\Xml\Xsl\Xslt\KeyMatchBuilder.cs (7)
89
if (n.
Variable
.Binding.NodeType == QilNodeType.Root || n.
Variable
.Binding.NodeType == QilNodeType.Deref) {
93
if (n.
Variable
.Binding.NodeType == QilNodeType.Content) {
95
QilUnary content = (QilUnary)n.
Variable
.Binding;
99
n.
Variable
.Binding = f.Loop(it, content);
102
n.
Variable
.Binding = Visit(n.
Variable
.Binding);
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
124
this.iterator = filter.
Variable
;
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
1536
refReplacer.Replace(filter.Body, filter.
Variable
, testNode),
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (8)
51
Debug.Assert(filter.
Variable
.XmlType.IsSubtypeOf(T.NodeNotRtf));
52
Debug.Assert(filter.
Variable
.Binding.NodeType == QilNodeType.Unknown); // fixupNode
58
filter.
Variable
.Binding = newBinding;
195
FixupFilterBinding(parentFilter, ancestor ? f.Ancestor(lastParent.
Variable
) : f.Parent(lastParent.
Variable
));
219
QilIterator current = nodeFilter.
Variable
;
237
siblingFilter.
Variable
.Binding = sibling;
335
Debug.Assert(context.
Variable
.NodeType == QilNodeType.For, "It shouldn't be Let, becaus predicates in PatternBuilder don't produce cached tuples.");