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