BoundTree\UnboundLambda.cs (11)
153var returnTypes = ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)>.GetInstance();
197internal static InferredLambdaReturnType InferReturnType(ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> returnTypes,
204internal static InferredLambdaReturnType InferReturnType(ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> returnTypes,
214private static InferredLambdaReturnType InferReturnTypeImpl(ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> returnTypes,
355private readonly ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> _builder;
357private BlockReturns(ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> builder)
362public static void GetReturnTypes(ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)> builder, BoundBlock block)
389public override BoundNode? VisitReturnStatement(BoundReturnStatement node)
761var returnTypes = ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)>.GetInstance();
1000var returnTypes = ArrayBuilder<(BoundReturnStatement, TypeWithAnnotations)>.GetInstance();
1635statements[0] is BoundReturnStatement { RefKind: Microsoft.CodeAnalysis.RefKind.None, ExpressionOpt: BoundExpression expr })
Generated\BoundNodes.xml.Generated.cs (8)
3588public BoundReturnStatement Update(RefKind refKind, BoundExpression? expressionOpt, bool @checked)
3592var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.HasErrors);
9057return VisitReturnStatement((BoundReturnStatement)node, arg);
9437public virtual R VisitReturnStatement(BoundReturnStatement node, A arg) => this.DefaultVisit(node, arg);
9673public virtual BoundNode? VisitReturnStatement(BoundReturnStatement node) => this.DefaultVisit(node);
10158public override BoundNode? VisitReturnStatement(BoundReturnStatement node)
11416public override BoundNode? VisitReturnStatement(BoundReturnStatement node)
15940public override TreeDumperNode VisitReturnStatement(BoundReturnStatement node, object? arg) => new TreeDumperNode("returnStatement", null, new TreeDumperNode[]