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