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