1 write to Body
System.Linq.Expressions (1)
System\Linq\Expressions\SwitchCase.cs (1)
19
Body
= body;
17 references to Body
System.Linq.Expressions (17)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (1)
198
DefineBlockLabels(c.
Body
);
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (3)
462
var jump = @case.
Body
as GotoExpression;
501
EmitExpressionAsType(node.Cases[i].
Body
, node.Type, flags);
684
cases.UncheckedAdd(Expression.SwitchCase(node.Cases[i].
Body
, new TrueReadOnlyCollection<Expression>(Utils.Constant(i))));
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
912
Result body = RewriteExpression(@case.
Body
, stack);
System\Linq\Expressions\DebugViewWriter.cs (1)
1041
Visit(node.
Body
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
411
public Expression Body => _node.
Body
;
System\Linq\Expressions\ExpressionVisitor.cs (1)
473
return node.Update(Visit(node.TestValues), Visit(node.
Body
));
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
1615
Expression.Goto(doneLabel, @case.
Body
),
1659
Compile(switchCase.
Body
, !hasValue);
1713
Compile(switchCase.
Body
, !hasValue);
1871
DefineBlockLabels(c.
Body
);
System\Linq\Expressions\SwitchCase.cs (2)
48
/// <param name="body">The <see cref="
Body
"/> property of the result.</param>
52
if (body ==
Body
& testValues != null)
System\Linq\Expressions\SwitchExpression.cs (3)
190
resultType = caseList[0].
Body
.Type;
222
ValidateSwitchCaseType(c.
Body
, customType, resultType, nameof(cases));
257
ValidateSwitchCaseType(c.
Body
, customType, resultType, nameof(cases));