1 write to Body
System.Linq.Expressions (1)
System\Linq\Expressions\CatchBlock.cs (1)
20Body = body;
21 references to Body
System.Linq.Expressions (21)
System\Linq\Expressions\CatchBlock.cs (3)
11/// This must have the same return type (i.e., the type of <see cref="Body"/>) as the try block it is associated with. 60/// <param name="body">The <see cref="Body"/> property of the result.</param> 64if (variable == Variable && filter == Filter && body == Body)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
861EmitExpression(cb.Body);
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
981Result rbody = RewriteExpression(handler.Body, Stack.Empty);
System\Linq\Expressions\Compiler\VariableBinder.cs (2)
135Visit(node.Body); 140Visit(node.Body);
System\Linq\Expressions\DebugViewWriter.cs (1)
1081Visit(node.Body);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
63public Expression Body => _node.Body;
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 (2)
2055Compile(handler.Body, !hasValue); 2817Visit(node.Body);
System\Linq\Expressions\Interpreter\TypeOperations.cs (2)
562Expression? b = Visit(node.Body); 568if (b == node.Body && f == node.Filter)
System\Linq\Expressions\TryExpression.cs (5)
196if (!TypeUtils.AreReferenceAssignable(type, cb.Body.Type)) 208Debug.Assert(cb.Body != null); 209if (cb.Body.Type != typeof(void)) 221Debug.Assert(cb.Body != null); 222if (!TypeUtils.AreEquivalent(cb.Body.Type, type))
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (2)
117Expression b = Visit(node.Body); 123if (b == node.Body && f == node.Filter)