2 writes to topLevelMethod
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\DefiniteAssignment.cs (2)
187
this.
topLevelMethod
= member as MethodSymbol;
206
this.
topLevelMethod
= member as MethodSymbol;
7 references to topLevelMethod
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\DefiniteAssignment.cs (1)
460
if (!_requireOutParamsAssigned && ReferenceEquals(
topLevelMethod
, CurrentSymbol))
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (6)
306
Debug.Assert(!
topLevelMethod
.GetIsNewExtensionMember()); // extension methods were replaced with implementation methods earlier in the pipeline
308
if (node.ParameterSymbol.ContainingSymbol ==
topLevelMethod
)
318
var thisSymbol =
topLevelMethod
.ThisParameter;
327
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
333
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
352
new OutsideVariablesUsedInside(this, this.
topLevelMethod
, this).Visit(finallyBlock);