5 references to Sort
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
311tmp.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)
926condDirectivesBuilder.Sort(static (n1, n2) => n1.SpanStart.CompareTo(n2.SpanStart));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
132result.Sort(CommonFormattingHelpers.SuppressOperationComparer);
Workspace\Solution\SolutionCompilationState.RootedSymbolSet.cs (1)
89secondarySymbols.Sort(static (x, y) => x.hashCode.CompareTo(y.hashCode));