12 references to Sort
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
267return diags.Sort((x, y) =>
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
268return diags.Sort((x, y) =>
Microsoft.CodeAnalysis (1)
CommandLine\CommandLineParser.cs (1)
1409=> pathMap.Sort((x, y) => -x.Key.Length.CompareTo(y.Key.Length));
Microsoft.CodeAnalysis.Features (2)
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
269namedAndUnnamedArguments = namedAndUnnamedArguments.Sort((arg1, arg2) =>
Wrapping\WrapItemsAction.cs (1)
58return items.Sort((d1, d2) =>
Microsoft.CodeAnalysis.Workspaces (1)
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (1)
274var orderedChanges = changes.Sort(static (c1, c2) => c1.Span.Start - c2.Span.Start);
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
416return diags.Sort((x, y) =>
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
416return diags.Sort((x, y) =>
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
416return diags.Sort((x, y) =>
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
416return diags.Sort((x, y) =>
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
416return diags.Sort((x, y) =>
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceTests.cs (1)
160var receivedSorted = receivedArgs.Freeze().Sort((x, y) => x.Length - y.Length);