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