1 instantiation of LexicalOrderSymbolComparer
Microsoft.CodeAnalysis.CSharp (1)
Compilation\LexicalOrderSymbolComparer.cs (1)
20
public static readonly LexicalOrderSymbolComparer Instance = new
LexicalOrderSymbolComparer
();
10 references to LexicalOrderSymbolComparer
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpCompilation.cs (2)
2129
viableEntryPoints.Sort(
LexicalOrderSymbolComparer
.Instance);
3665
foreach (MethodSymbol method in _moduleInitializerMethods.OrderBy<MethodSymbol>(
LexicalOrderSymbolComparer
.Instance))
Compilation\LexicalOrderSymbolComparer.cs (1)
20
public static readonly
LexicalOrderSymbolComparer
Instance = new LexicalOrderSymbolComparer();
FlowAnalysis\CSharpDataFlowAnalysis.cs (2)
392
return ImmutableArray.CreateRange(data.Where(s => s.CanBeReferencedByName).OrderBy(s => s,
LexicalOrderSymbolComparer
.Instance).GetPublicSymbols());
397
return ImmutableArray.CreateRange(data.Where(s => s.CanBeReferencedByName).OrderBy(s => s,
LexicalOrderSymbolComparer
.Instance).Select(p => p.GetPublicSymbol()));
FlowAnalysis\DefiniteAssignment.cs (1)
648
builder.Sort(
LexicalOrderSymbolComparer
.Instance);
Symbols\Source\SourceMemberContainerSymbol.cs (2)
1281
return GetTypeMembersDictionary().Flatten(
LexicalOrderSymbolComparer
.Instance);
1470
allMembers = allMembers.Sort(
LexicalOrderSymbolComparer
.Instance);
Symbols\Source\SourceNamespaceSymbol.cs (2)
162
allMembers = allMembers.Sort(
LexicalOrderSymbolComparer
.Instance);
192
return this.GetNameToTypeMembersMap().Flatten(
LexicalOrderSymbolComparer
.Instance);