14 references to BoundReturnStatement
Microsoft.CodeAnalysis.CSharp (14)
BoundTree\Constructors.cs (1)
633return new BoundReturnStatement(syntax, refKind, expression, hasErrors) { WasCompilerGenerated = true };
Compiler\MethodBodySynthesizer.cs (3)
193statement = new BoundReturnStatement(accessor.SyntaxNode, RefKind.None, fieldAccess, @checked: false); 321BoundStatement returnStatement = new BoundReturnStatement(syntax, RefKind.None, expressionOpt: null, @checked: false); 357BoundStatement @return = new BoundReturnStatement(syntax,
FlowAnalysis\FlowAnalysisPass.cs (1)
85var newStatements = block.Statements.Add(new BoundReturnStatement(trailingExpression.Syntax, RefKind.None, trailingExpression, @checked: false));
Generated\BoundNodes.xml.Generated.cs (1)
3588var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.HasErrors);
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
335unpendReturn = new BoundReturnStatement(_F.Syntax, RefKind.None, pendingValue, @checked: false);
Lowering\ClosureConversion\ClosureConversion.cs (1)
562new BoundReturnStatement(syntax, RefKind.None, null, @checked: false));
Lowering\InitializerRewriter.cs (1)
68boundStatements.Add(new BoundReturnStatement(lastStatement.Syntax, RefKind.None, trailingExpression, @checked: false));
Lowering\SyntheticBoundNodeFactory.cs (1)
566return new BoundReturnStatement(Syntax, CurrentFunction.RefKind, expression, @checked: false) { WasCompilerGenerated = true };
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (4)
409new BoundReturnStatement( 427new BoundReturnStatement( 520new BoundReturnStatement( 611var returnStatement = new BoundReturnStatement(