9 references to Instance
Microsoft.CodeAnalysis.CSharp (9)
Compilation\CSharpCompilation.cs (2)
2124
viableEntryPoints.Sort(LexicalOrderSymbolComparer.
Instance
);
3640
foreach (MethodSymbol method in _moduleInitializerMethods.OrderBy<MethodSymbol>(LexicalOrderSymbolComparer.
Instance
))
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
);