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