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