Implemented interface member:
property
Body
Microsoft.CodeAnalysis.CSharp.IBoundLambdaOrFunction.Body
1 write to Body
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7604this.Body = body;
25 references to Body
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Query.cs (1)
682var r1 = l1 != null ? l1.Body.Statements[0] as BoundReturnStatement : null;
Binder\RefSafetyAnalysis.cs (1)
322analysis.Visit(node.Body);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
3265switch (lambda.Body.Statements.Length) 3271if (lambda.Body.Statements[0].Kind == BoundKind.ReturnStatement) 3273var returnStmt = (BoundReturnStatement)lambda.Body.Statements[0]; 3290walker.Visit(lambda.Body);
BoundTree\UnboundLambda.cs (1)
800GetLambdaExpressionBody(returnInferenceLambda.Body) is BoundExpression expression &&
Compilation\MemberSemanticModel.cs (2)
1815return GetEnclosingBinderInternalWithinRoot(AdjustStartingNodeAccordingToNewRoot(startingNode, lambda.Body.Syntax), 1816position, lambda.Binder, lambda.Body.Syntax);
FlowAnalysis\AbstractRegionControlFlowPass.cs (1)
37VisitAlways(node.Body);
FlowAnalysis\DefiniteAssignment.cs (1)
2439VisitAlways(node.Body);
FlowAnalysis\NullableWalker.cs (1)
1698lambda.Body,
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
185Visit(node.BindForErrorRecovery().Body);
Generated\BoundNodes.xml.Generated.cs (5)
7621if (unboundLambda != this.UnboundLambda || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(symbol, this.Symbol) || body != this.Body || diagnostics != this.Diagnostics || binder != this.Binder || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10638this.Visit(node.Body); 11987BoundBlock body = (BoundBlock)this.Visit(node.Body); 14545BoundBlock body = (BoundBlock)this.Visit(node.Body); 16804new TreeDumperNode("body", null, new TreeDumperNode[] { Visit(node.Body, null) }),
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
449var result = VisitNestedFunction(node.Symbol, node.Body);
Lowering\ClosureConversion\ClosureConversion.cs (2)
1626var newBody = (BoundBlock)Visit(node.Body); 1679lambdaScope != Analysis.GetScopeParent(_analysis.ScopeTree, node.Body).BoundNode &&
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
857TranslateLambdaBody(node.Body),
Lowering\LocalRewriter\LocalRewriter.cs (1)
360_currentLambdaBody = node.Body;
Operations\CSharpOperationFactory.cs (2)
997IBlockOperation body = (IBlockOperation)Create(boundLambda.Body); 1071((boundOperand as BoundLambda)?.Body.Statements.SingleOrDefault() as BoundReturnStatement)?.