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