1 instantiation of SourceLabelSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\ExecutableCodeBinder.vb (1)
261
_labels.Add(New
SourceLabelSymbol
(node.LabelToken, _containingMethod, _binder))
17 references to SourceLabelSymbol
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Statements.vb (1)
905
Dim symbol = DirectCast(result.SingleSymbol,
SourceLabelSymbol
)
Binding\ExecutableCodeBinder.vb (15)
29
Private _labelsMap As MultiDictionary(Of String,
SourceLabelSymbol
)
30
Private _labels As ImmutableArray(Of
SourceLabelSymbol
) = Nothing
39
Friend ReadOnly Property Labels As ImmutableArray(Of
SourceLabelSymbol
)
50
Private Function BuildLabels() As ImmutableArray(Of
SourceLabelSymbol
)
51
Dim labels = ArrayBuilder(Of
SourceLabelSymbol
).GetInstance()
72
Return ImmutableArray(Of
SourceLabelSymbol
).Empty
76
Private ReadOnly Property LabelsMap As MultiDictionary(Of String,
SourceLabelSymbol
)
85
Private Shared ReadOnly s_emptyLabelMap As MultiDictionary(Of String,
SourceLabelSymbol
) = New MultiDictionary(Of String,
SourceLabelSymbol
)(0, IdentifierComparison.Comparer)
87
Private Shared Function BuildLabelsMap(labels As ImmutableArray(Of
SourceLabelSymbol
)) As MultiDictionary(Of String,
SourceLabelSymbol
)
89
Dim map = New MultiDictionary(Of String,
SourceLabelSymbol
)(labels.Length, IdentifierComparison.Comparer)
135
Dim bestSymbol As
SourceLabelSymbol
= Nothing
250
Private ReadOnly _labels As ArrayBuilder(Of
SourceLabelSymbol
)
254
Public Sub New(labels As ArrayBuilder(Of
SourceLabelSymbol
), containingMethod As MethodSymbol, binder As Binder)
Symbols\Source\SourceLabelSymbol.vb (1)
72
Dim symbol = TryCast(obj,
SourceLabelSymbol
)