14 references to DefaultBody
System.Core (14)
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
1023
if (node.
DefaultBody
!= null) {
1026
Visit(node.
DefaultBody
);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
397
public Expression DefaultBody { get { return _node.
DefaultBody
; } }
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
486
Visit(node.
DefaultBody
)
Microsoft\Scripting\Ast\SwitchExpression.cs (2)
122
/// <param name="defaultBody">The <see cref="
DefaultBody
" /> property of the result.</param>
125
if (switchValue == SwitchValue && cases == Cases && defaultBody ==
DefaultBody
) {
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (1)
189
DefineBlockLabels(@switch.
DefaultBody
);
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (6)
202
Label @default = (node.
DefaultBody
== null) ? end : _ilg.DefineLabel();
383
Label @default = (node.
DefaultBody
== null) ? end : _ilg.DefineLabel();
446
if (node.
DefaultBody
!= null || i < n - 1) {
458
if (node.
DefaultBody
!= null) {
460
EmitExpressionAsType(node.
DefaultBody
, node.Type, flags);
653
Expression.Switch(node.Type, switchIndex, node.
DefaultBody
, null, cases)
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
828
Result defaultBody = RewriteExpression(node.
DefaultBody
, stack);