15 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)
1419=> pathMap.Sort((x, y) => -x.Key.Length.CompareTo(y.Key.Length));
Microsoft.CodeAnalysis.Features (1)
Wrapping\WrapItemsAction.cs (1)
56return items.Sort((d1, d2) =>
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
313expectedSemanticEdits = expectedSemanticEdits.Sort((x, y) => CompareEdits(CreateSymbolKey(x), x.Kind, CreateSymbolKey(y), y.Kind));
Microsoft.CodeAnalysis.Workspaces (3)
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (1)
274var orderedChanges = changes.Sort(static (c1, c2) => c1.Span.Start - c2.Span.Start);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
38.Sort((d1, d2) => d1.Location.SourceSpan.Start - d2.Location.SourceSpan.Start);
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (1)
190.Sort((dt1, dt2) => documentToIndex[dt1.document] - documentToIndex[dt2.document])
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.MetadataExtractor.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);