5 references to Sort
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
311
tmp.
Sort
((a, b) => CompareNodes(unsortedNodes[a], unsortedNodes[b], unsortedNodes));
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
384
_builder.
Sort
(compare);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
926
condDirectivesBuilder.
Sort
(static (n1, n2) => n1.SpanStart.CompareTo(n2.SpanStart));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
132
result.
Sort
(CommonFormattingHelpers.SuppressOperationComparer);
Workspace\Solution\SolutionCompilationState.RootedSymbolSet.cs (1)
89
secondarySymbols.
Sort
(static (x, y) => x.hashCode.CompareTo(y.hashCode));