6 references to Sort
Microsoft.CodeAnalysis.Workspaces (6)
Classification\ClassifierHelper.cs (2)
148=> syntaxSpans.Sort(s_spanComparison); 228finalParts.Sort(s_spanComparison);
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
317GetOrCreateMutableList().Sort(comparison);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (1)
59values.Sort((t1, t2) => localIntrospector.GetSpan(t1).Start - localIntrospector.GetSpan(t2).Start);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
131operations.Sort(CommonFormattingHelpers.IndentBlockOperationComparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
184nodeOperations.AlignmentOperation.Sort(static (o1, o2) => o1.BaseToken.Span.CompareTo(o2.BaseToken.Span));