1 write to Body
System.Linq.Expressions (1)
System\Linq\Expressions\CatchBlock.cs (1)
20
Body
= 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>
64
if (variable == Variable && filter == Filter && body ==
Body
)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
861
EmitExpression(cb.
Body
);
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
981
Result rbody = RewriteExpression(handler.
Body
, Stack.Empty);
System\Linq\Expressions\Compiler\VariableBinder.cs (2)
135
Visit(node.
Body
);
140
Visit(node.
Body
);
System\Linq\Expressions\DebugViewWriter.cs (1)
1081
Visit(node.
Body
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
63
public Expression Body => _node.
Body
;
System\Linq\Expressions\ExpressionVisitor.cs (1)
502
return node.Update(VisitAndConvert(node.Variable, nameof(VisitCatchBlock)), Visit(node.Filter), Visit(node.
Body
));
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
2055
Compile(handler.
Body
, !hasValue);
2817
Visit(node.
Body
);
System\Linq\Expressions\Interpreter\TypeOperations.cs (2)
562
Expression? b = Visit(node.
Body
);
568
if (b == node.
Body
&& f == node.Filter)
System\Linq\Expressions\TryExpression.cs (5)
196
if (!TypeUtils.AreReferenceAssignable(type, cb.
Body
.Type))
208
Debug.Assert(cb.
Body
!= null);
209
if (cb.
Body
.Type != typeof(void))
221
Debug.Assert(cb.
Body
!= null);
222
if (!TypeUtils.AreEquivalent(cb.
Body
.Type, type))
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (2)
117
Expression b = Visit(node.
Body
);
123
if (b == node.
Body
&& f == node.Filter)