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