8 references to LexicalSortKey
Microsoft.CodeAnalysis.CSharp (8)
Symbols\Source\SourceFieldSymbol.cs (1)
214
=> new
LexicalSortKey
(_syntaxReference, this.DeclaringCompilation);
Symbols\Source\SourceMemberContainerSymbol.cs (7)
3012
Debug.Assert(LexicalSortKey.Compare(new
LexicalSortKey
(initializers[i - 1].First().Syntax, compilation), new
LexicalSortKey
(initializers[i].Last().Syntax, compilation)) < 0);
3017
Debug.Assert(LexicalSortKey.Compare(new
LexicalSortKey
(initializers[i].First().Syntax, compilation), new
LexicalSortKey
(initializers[i + 1].Last().Syntax, compilation)) < 0);
3022
Debug.Assert(LexicalSortKey.Compare(new
LexicalSortKey
(initializers[i].First().Syntax, compilation), new
LexicalSortKey
(initializers[i].Last().Syntax, compilation)) < 0);
3082
if (LexicalSortKey.Compare(sortKey, new
LexicalSortKey
(declaredMembers.InstanceInitializers[insertAt][0].Syntax, compilation)) < 0)