2 writes to topLevelMethod
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\DefiniteAssignment.cs (2)
186
this.
topLevelMethod
= member as MethodSymbol;
205
this.
topLevelMethod
= member as MethodSymbol;
6 references to topLevelMethod
Microsoft.CodeAnalysis.CSharp (6)
FlowAnalysis\DefiniteAssignment.cs (1)
451
if (!_requireOutParamsAssigned && ReferenceEquals(
topLevelMethod
, CurrentSymbol))
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (5)
287
if (node.ParameterSymbol.ContainingSymbol ==
topLevelMethod
)
297
var thisSymbol =
topLevelMethod
.ThisParameter;
306
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
312
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
331
new OutsideVariablesUsedInside(this, this.
topLevelMethod
, this).Visit(finallyBlock);