2 writes to topLevelMethod
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\DefiniteAssignment.cs (2)
187
this.
topLevelMethod
= member as MethodSymbol;
206
this.
topLevelMethod
= member as MethodSymbol;
6 references to topLevelMethod
Microsoft.CodeAnalysis.CSharp (6)
FlowAnalysis\DefiniteAssignment.cs (1)
452
if (!_requireOutParamsAssigned && ReferenceEquals(
topLevelMethod
, CurrentSymbol))
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (5)
261
if (node.ParameterSymbol.ContainingSymbol ==
topLevelMethod
)
271
var thisSymbol =
topLevelMethod
.ThisParameter;
280
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
286
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
305
new OutsideVariablesUsedInside(this, this.
topLevelMethod
, this).Visit(finallyBlock);