22 instantiations of LexicalSortKey
Microsoft.CodeAnalysis.VisualBasic (22)
Declarations\MergedNamespaceDeclaration.vb (2)
49
Dim sortKey As LexicalSortKey = New
LexicalSortKey
(_declarations(0).NameLocation, compilation)
51
sortKey = LexicalSortKey.First(sortKey, New
LexicalSortKey
(_declarations(i).NameLocation, compilation))
Declarations\MergedTypeDeclaration.vb (2)
112
Dim sortKey As LexicalSortKey = New
LexicalSortKey
(_declarations(0).NameLocation, compilation)
114
sortKey = LexicalSortKey.First(sortKey, New
LexicalSortKey
(_declarations(i).NameLocation, compilation))
Symbols\LexicalSortKey.vb (13)
69
Public Shared ReadOnly NotInSource As LexicalSortKey = New
LexicalSortKey
(SyntaxTreeKind.None, -1, 0)
72
Public Shared ReadOnly NotInitialized As LexicalSortKey = New
LexicalSortKey
() With {._embeddedKind = SyntaxTreeKind.None, ._treeOrdinal = -1, ._position = -1}
85
Me.
New
(embeddedKind, If(tree Is Nothing OrElse embeddedKind <> SyntaxTreeKind.None, -1, compilation.GetSyntaxTreeOrdinal(tree)), location)
97
Me.
New
(GetEmbeddedKind(tree), tree, position, compilation)
101
Me.
New
(syntaxRef.SyntaxTree, syntaxRef.Span.Start, compilation)
139
Me.
New
(node.SyntaxTree, node.SpanStart, compilation)
148
Me.
New
(DirectCast(token.SyntaxTree, VisualBasicSyntaxTree), token.SpanStart, compilation)
191
Dim firstKey = New
LexicalSortKey
(first, compilation)
192
Dim secondKey = New
LexicalSortKey
(second, compilation)
204
Dim firstKey = New
LexicalSortKey
(first, compilation)
205
Dim secondKey = New
LexicalSortKey
(second, compilation)
217
Dim firstKey = New
LexicalSortKey
(first.SyntaxTree, first.SpanStart, compilation)
218
Dim secondKey = New
LexicalSortKey
(second.SyntaxTree, second.SpanStart, compilation)
Symbols\Source\SourceEventSymbol.vb (1)
441
Return New
LexicalSortKey
(_location, Me.DeclaringCompilation)
Symbols\Source\SourceFieldSymbol.vb (1)
615
Return New
LexicalSortKey
(_syntaxRef, Me.DeclaringCompilation)
Symbols\Source\SourceMethodSymbol.vb (1)
827
New
LexicalSortKey
(m_syntaxReferenceOpt, Me.DeclaringCompilation),
Symbols\Source\SourcePropertySymbol.vb (1)
448
Return New
LexicalSortKey
(_location, Me.DeclaringCompilation)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
216
Return New
LexicalSortKey
(_syntaxRef, Me.DeclaringCompilation)
47 references to LexicalSortKey
Microsoft.CodeAnalysis.VisualBasic (47)
Declarations\MergedNamespaceDeclaration.vb (3)
47
Public Function GetLexicalSortKey(compilation As VisualBasicCompilation) As
LexicalSortKey
49
Dim sortKey As
LexicalSortKey
= New LexicalSortKey(_declarations(0).NameLocation, compilation)
51
sortKey =
LexicalSortKey
.First(sortKey, New LexicalSortKey(_declarations(i).NameLocation, compilation))
Declarations\MergedTypeDeclaration.vb (3)
110
Public Function GetLexicalSortKey(compilation As VisualBasicCompilation) As
LexicalSortKey
112
Dim sortKey As
LexicalSortKey
= New LexicalSortKey(_declarations(0).NameLocation, compilation)
114
sortKey =
LexicalSortKey
.First(sortKey, New LexicalSortKey(_declarations(i).NameLocation, compilation))
Symbols\LexicalSortKey.vb (11)
69
Public Shared ReadOnly NotInSource As
LexicalSortKey
= New LexicalSortKey(SyntaxTreeKind.None, -1, 0)
72
Public Shared ReadOnly NotInitialized As
LexicalSortKey
= New LexicalSortKey() With {._embeddedKind = SyntaxTreeKind.None, ._treeOrdinal = -1, ._position = -1}
154
Public Shared Function Compare(ByRef xSortKey As
LexicalSortKey
, ByRef ySortKey As
LexicalSortKey
) As Integer
193
Return
LexicalSortKey
.Compare(firstKey, secondKey)
206
Return
LexicalSortKey
.Compare(firstKey, secondKey)
219
Return
LexicalSortKey
.Compare(firstKey, secondKey)
222
Public Shared Function First(xSortKey As
LexicalSortKey
, ySortKey As
LexicalSortKey
) As
LexicalSortKey
233
Public Sub SetFrom(ByRef other As
LexicalSortKey
)
Symbols\Source\SourceEventSymbol.vb (1)
439
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SourceFieldSymbol.vb (1)
613
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SourceMemberContainerTypeSymbol.vb (3)
97
Private _lazyLexicalSortKey As
LexicalSortKey
=
LexicalSortKey
.NotInitialized
1367
Friend NotOverridable Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SourceMethodSymbol.vb (2)
824
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
828
LexicalSortKey
.NotInSource)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
50
Private _lazyLexicalSortKey As
LexicalSortKey
=
LexicalSortKey
.NotInitialized
Symbols\Source\SourceNamespaceSymbol.vb (3)
40
Private _lazyLexicalSortKey As
LexicalSortKey
=
LexicalSortKey
.NotInitialized
272
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
317
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SourcePropertySymbol.vb (1)
446
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SynthesizedEntryPointSymbol.vb (2)
129
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
130
Return
LexicalSortKey
.NotInSource
Symbols\Source\SynthesizedFieldSymbol.vb (1)
132
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\Source\SynthesizedMyGroupCollectionPropertyBackingFieldSymbol.vb (2)
32
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
33
Return
LexicalSortKey
.NotInSource
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (2)
73
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
74
Return
LexicalSortKey
.NotInSource
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
118
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
79
Friend NotOverridable Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
172
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
291
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
214
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (2)
135
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
136
Return
LexicalSortKey
.NotInSource
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
179
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (1)
122
Friend Overrides Function GetLexicalSortKey() As
LexicalSortKey