2 writes to topLevelMethod
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\DefiniteAssignment.cs (2)
192
this.
topLevelMethod
= member as MethodSymbol;
211
this.
topLevelMethod
= member as MethodSymbol;
7 references to topLevelMethod
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\DefiniteAssignment.cs (1)
417
if (!_requireOutParamsAssigned && ReferenceEquals(
topLevelMethod
, CurrentSymbol))
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (6)
307
Debug.Assert(!
topLevelMethod
.IsExtensionBlockMember()); // extension methods were replaced with implementation methods earlier in the pipeline
309
if (node.ParameterSymbol.ContainingSymbol ==
topLevelMethod
)
319
var thisSymbol =
topLevelMethod
.ThisParameter;
328
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
334
CaptureVariable(
topLevelMethod
.ThisParameter, node.Syntax);
353
new OutsideVariablesUsedInside(this, this.
topLevelMethod
, this).Visit(finallyBlock);