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