2 instantiations of LambdaFrame
Microsoft.CodeAnalysis.VisualBasic (2)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
282
frame = New
LambdaFrame
(_topLevelMethod,
316
_lazyStaticLambdaFrame = New
LambdaFrame
(_topLevelMethod, lambda.Syntax, methodId, closureId, copyConstructor:=False, isStatic:=True, isDelegateRelaxationFrame:=False)
30 references to LambdaFrame
Microsoft.CodeAnalysis.VisualBasic (30)
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
255
If TypeOf objCreation.Type Is
LambdaFrame
AndAlso objCreation.Arguments.Length = 1 Then
Compilation\TypeCompilationState.vb (1)
49
Public staticLambdaFrame As
LambdaFrame
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (2)
88
Debug.Assert(visited IsNot Nothing OrElse TypeOf type Is
LambdaFrame
OrElse TypeOf DirectCast(type, NamedTypeSymbol).ConstructedFrom Is
LambdaFrame
)
Lowering\LambdaRewriter\LambdaCapturedVariable.vb (4)
25
Friend Sub New(frame As
LambdaFrame
, captured As Symbol, type As TypeSymbol, fieldName As String, isMeParameter As Boolean)
31
Public Shared Function Create(frame As
LambdaFrame
, captured As Symbol, ByRef uniqueId As Integer) As LambdaCapturedVariable
67
Public Shared Function GetCapturedVariableFieldType(frame As
LambdaFrame
, captured As Symbol) As TypeSymbol
75
Dim localTypeAsFrame = TryCast(local.Type.OriginalDefinition,
LambdaFrame
)
Lowering\LambdaRewriter\LambdaFrame.vb (1)
37
Dim f = TryCast(container,
LambdaFrame
)
Lowering\LambdaRewriter\LambdaFrameConstructor.vb (1)
18
containingType As
LambdaFrame
Lowering\LambdaRewriter\LambdaFrameCopyConstructor.vb (1)
26
Friend Sub New(syntaxNode As SyntaxNode, containingType As
LambdaFrame
)
Lowering\LambdaRewriter\LambdaRewriter.vb (16)
62
Private _lazyStaticLambdaFrame As
LambdaFrame
65
Private ReadOnly _frames As Dictionary(Of BoundNode,
LambdaFrame
) = New Dictionary(Of BoundNode,
LambdaFrame
)()
238
Dim frame As
LambdaFrame
= GetFrameForScope(copyConstructor, captured, node, closureDebugInfo, _delegateRelaxationIdDispenser)
254
ByRef delegateRelaxationIdDispenser As Integer) As
LambdaFrame
255
Dim frame As
LambdaFrame
= Nothing
300
Private Function GetStaticFrame(lambda As BoundNode, diagnostics As BindingDiagnosticBag) As
LambdaFrame
405
Private Function MakeFrameCtor(frame As
LambdaFrame
, diagnostics As BindingDiagnosticBag) As BoundBlock
482
Friend Shared Function ConstructFrameType(Of T As TypeSymbol)(type As
LambdaFrame
, typeArguments As ImmutableArray(Of T)) As NamedTypeSymbol
499
frame As
LambdaFrame
,
731
Dim frame As
LambdaFrame
= Nothing
745
Dim frame As
LambdaFrame
= Nothing
759
Dim frame As
LambdaFrame
= Nothing
854
Dim frame As
LambdaFrame
= Nothing
884
Dim frame As
LambdaFrame
= Nothing
1084
Dim containerAsFrame = TryCast(translatedLambdaContainer,
LambdaFrame
)
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (3)
32
Return If(TypeOf ContainingType Is
LambdaFrame
, Accessibility.Friend, Accessibility.Private)
69
Dim containingTypeAsFrame = TryCast(containingType,
LambdaFrame
)
74
Me._typeParameters = SynthesizedClonedTypeParameterSymbol.MakeTypeParameters(topLevelMethod.TypeParameters, Me,
LambdaFrame
.CreateTypeParameter)