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