1 write to Variable
System.Linq.Expressions (1)
System\Linq\Expressions\CatchBlock.cs (1)
19Variable = variable;
27 references to Variable
System.Linq.Expressions (27)
System\Linq\Expressions\CatchBlock.cs (2)
58/// <param name="variable">The <see cref="Variable"/> property of the result.</param> 64if (variable == Variable && filter == Filter && body == Body)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
492return new[] { ((CatchBlock)scope).Variable! };
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (3)
118return ((CatchBlock)node).Variable != null; 796if (cb.Variable != null) 800_scope.EmitSet(cb.Variable);
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
987handler = Expression.MakeCatchBlock(handler.Test, handler.Variable, rbody.Node, filter);
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
132if (node.Variable == null)
System\Linq\Expressions\DebugViewWriter.cs (2)
1069if (node.Variable != null) 1072VisitParameter(node.Variable);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
66public ParameterExpression? Variable => _node.Variable;
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
734if (!string.IsNullOrEmpty(node.Variable?.Name)) 737Out(node.Variable.Name);
System\Linq\Expressions\ExpressionVisitor.cs (1)
502return node.Update(VisitAndConvert(node.Variable, nameof(VisitCatchBlock)), Visit(node.Filter), Visit(node.Body));
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
2009ParameterExpression parameter = handler.Variable ?? Expression.Parameter(handler.Test); 2813if (node.Variable != null) 2815PushParameters(new[] { node.Variable }); 2819if (node.Variable != null) 2821PopParameters(new[] { node.Variable });
System\Linq\Expressions\Interpreter\TypeOperations.cs (4)
558if (node.Variable != null) 560_shadowedVars.Push(new HashSet<ParameterExpression> { node.Variable }); 564if (node.Variable != null) 572return Expression.MakeCatchBlock(node.Test, node.Variable, b, f);
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (4)
113if (node.Variable != null) 115_shadowedVars.Push(new HashSet<ParameterExpression> { node.Variable }); 119if (node.Variable != null) 127return Expression.MakeCatchBlock(node.Test, node.Variable, b, f);