31 references to Variables
System.Linq.Expressions (30)
System\Linq\Expressions\BlockExpression.cs (7)
64
/// <param name="variables">The <see cref="
Variables
"/> property of the result.</param>
590
Debug.Assert(variables!.Count ==
Variables
.Count);
595
Debug.Assert(variables == null || variables.Count ==
Variables
.Count);
629
Debug.Assert(variables!.Count ==
Variables
.Count);
634
Debug.Assert(variables == null || variables.Count ==
Variables
.Count);
654
Debug.Assert(variables!.Count ==
Variables
.Count);
659
Debug.Assert(variables == null || variables.Count ==
Variables
.Count);
System\Linq\Expressions\Compiler\CompilerScope.cs (2)
475
foreach (ParameterExpression param in scope.
Variables
)
490
return block.
Variables
;
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
116
return block.
Variables
.Count > 0;
System\Linq\Expressions\Compiler\VariableBinder.cs (4)
119
if (node.
Variables
.Count == 0)
169
if (block.
Variables
.Count > 0)
173
foreach (ParameterExpression v in block.
Variables
)
184
foreach (ParameterExpression v in block.
Variables
)
System\Linq\Expressions\DebugViewWriter.cs (1)
977
VisitDeclarations(node.
Variables
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
50
public ReadOnlyCollection<ParameterExpression> Variables => _node.
Variables
;
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
659
foreach (ParameterExpression v in node.
Variables
)
System\Linq\Expressions\ExpressionVisitor.cs (2)
214
ReadOnlyCollection<ParameterExpression> v = VisitAndConvert(node.
Variables
, "VisitBlock");
216
if (v == node.
Variables
&& nodes == null)
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
534
ReadOnlyCollection<ParameterExpression> variables = node.
Variables
;
2802
PushParameters(node.
Variables
);
2806
PopParameters(node.
Variables
);
System\Linq\Expressions\Interpreter\TypeOperations.cs (4)
540
if (node.
Variables
.Count > 0)
542
_shadowedVars.Push(new HashSet<ParameterExpression>(node.
Variables
));
545
if (node.
Variables
.Count > 0)
553
return node.Rewrite(node.
Variables
, b);
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (4)
95
if (node.
Variables
.Count > 0)
97
_shadowedVars.Push(new HashSet<ParameterExpression>(node.
Variables
));
100
if (node.
Variables
.Count > 0)
108
return node.Rewrite(node.
Variables
, b);
System.Linq.Queryable (1)
System\Linq\EnumerableRewriter.cs (1)
401
ReadOnlyCollection<ParameterExpression> variables = VisitAndConvert(node.
Variables
, "EnumerableRewriter.VisitBlock");