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