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