1 write to _topLevelMethod
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
126Me._topLevelMethod = method
28 references to _topLevelMethod
Microsoft.CodeAnalysis.VisualBasic (28)
Lowering\LambdaRewriter\LambdaRewriter.vb (28)
133Me._currentTypeParameters = Me._topLevelMethod.TypeParameters 213Return Me._topLevelMethod 293frame = New LambdaFrame(_topLevelMethod, 304CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(_topLevelMethod.ContainingType, frame.GetCciAdapter()) 329_topLevelMethod, 346CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(_topLevelMethod.ContainingType, frame.GetCciAdapter()) 524Dim framePointer = New SynthesizedLocal(Me._topLevelMethod, frameType, SynthesizedLocalKind.LambdaDisplayClass, frame.ScopeSyntax) 563If _innermostFramePointer.Kind = SymbolKind.Parameter AndAlso _topLevelMethod.MethodKind = MethodKind.Constructor AndAlso 564_topLevelMethod Is _currentMethod AndAlso Not _meIsInitialized Then 585Debug.Assert(_topLevelMethod = _currentMethod) 587For Each p In _topLevelMethod.Parameters 688If _currentMethod = _topLevelMethod Then 694If _topLevelMethod.IsShared Then 702Return If(_currentMethod Is _topLevelMethod, node, 703If(_currentMethod.ContainingType Is _topLevelMethod.ContainingType, 705FramePointer(node.Syntax, TryCast(_topLevelMethod.ContainingType, NamedTypeSymbol)))) 709Return If(_currentMethod Is _topLevelMethod, node, 710If(_currentMethod.ContainingType Is _topLevelMethod.ContainingType, 712FramePointer(node.Syntax, TryCast(_topLevelMethod.ContainingType, NamedTypeSymbol)))) 1009Dim syntaxOffset As Integer = _topLevelMethod.CalculateLocalSyntaxOffset(syntax.SpanStart, syntax.SyntaxTree) 1058Dim syntaxOffset As Integer = _topLevelMethod.CalculateLocalSyntaxOffset(lambdaOrLambdaBodySyntax.SpanStart, lambdaOrLambdaBodySyntax.SyntaxTree) 1101translatedLambdaContainer = DirectCast(_topLevelMethod.ContainingType, InstanceTypeSymbol) 1118Dim synthesizedMethod = New SynthesizedLambdaMethod(translatedLambdaContainer, closureKind, _topLevelMethod, topLevelMethodId, node, lambdaId, Me.Diagnostics) 1151_currentLambdaBodyTypeSubstitution = TypeSubstitution.Create(_topLevelMethod, _topLevelMethod.TypeParameters, _currentMethod.TypeArguments) 1235topLevelMethod:=Me._topLevelMethod, 1241Dim F = New SyntheticBoundNodeFactory(Me._topLevelMethod, Me._currentMethod, node.Syntax, CompilationState, Diagnostics) 1416If _currentMethod Is _topLevelMethod Then