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