1 write to _topLevelMethod
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
122Me._topLevelMethod = method
28 references to _topLevelMethod
Microsoft.CodeAnalysis.VisualBasic (28)
Lowering\LambdaRewriter\LambdaRewriter.vb (28)
128Me._currentTypeParameters = Me._topLevelMethod.TypeParameters 203Return Me._topLevelMethod 282frame = New LambdaFrame(_topLevelMethod, 292CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(_topLevelMethod.ContainingType, frame.GetCciAdapter()) 316_lazyStaticLambdaFrame = New LambdaFrame(_topLevelMethod, lambda.Syntax, methodId, closureId, copyConstructor:=False, isStatic:=True, isDelegateRelaxationFrame:=False) 326CompilationState.ModuleBuilderOpt.AddSynthesizedDefinition(_topLevelMethod.ContainingType, frame.GetCciAdapter()) 504Dim framePointer = New SynthesizedLocal(Me._topLevelMethod, frameType, SynthesizedLocalKind.LambdaDisplayClass, frame.ScopeSyntax) 543If _innermostFramePointer.Kind = SymbolKind.Parameter AndAlso _topLevelMethod.MethodKind = MethodKind.Constructor AndAlso 544_topLevelMethod Is _currentMethod AndAlso Not _meIsInitialized Then 565Debug.Assert(_topLevelMethod = _currentMethod) 567For Each p In _topLevelMethod.Parameters 668If _currentMethod = _topLevelMethod Then 674If _topLevelMethod.IsShared Then 682Return If(_currentMethod Is _topLevelMethod, node, 683If(_currentMethod.ContainingType Is _topLevelMethod.ContainingType, 685FramePointer(node.Syntax, TryCast(_topLevelMethod.ContainingType, NamedTypeSymbol)))) 689Return If(_currentMethod Is _topLevelMethod, node, 690If(_currentMethod.ContainingType Is _topLevelMethod.ContainingType, 692FramePointer(node.Syntax, TryCast(_topLevelMethod.ContainingType, NamedTypeSymbol)))) 973Dim syntaxOffset As Integer = _topLevelMethod.CalculateLocalSyntaxOffset(syntax.SpanStart, syntax.SyntaxTree) 1014Dim syntaxOffset As Integer = _topLevelMethod.CalculateLocalSyntaxOffset(lambdaOrLambdaBodySyntax.SpanStart, lambdaOrLambdaBodySyntax.SyntaxTree) 1053translatedLambdaContainer = DirectCast(_topLevelMethod.ContainingType, InstanceTypeSymbol) 1070Dim synthesizedMethod = New SynthesizedLambdaMethod(translatedLambdaContainer, closureKind, _topLevelMethod, topLevelMethodId, node, lambdaId, Me.Diagnostics) 1103_currentLambdaBodyTypeSubstitution = TypeSubstitution.Create(_topLevelMethod, _topLevelMethod.TypeParameters, _currentMethod.TypeArguments) 1187topLevelMethod:=Me._topLevelMethod, 1193Dim F = New SyntheticBoundNodeFactory(Me._topLevelMethod, Me._currentMethod, node.Syntax, CompilationState, Diagnostics) 1368If _currentMethod Is _topLevelMethod Then