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