Arnolyzer.Tests.DiagnosticVerification.DiagnosticsGenerator.SortDiagnostics C# (CSharp) Method

SortDiagnostics() private static method

private static SortDiagnostics ( IEnumerable diagnostics ) : IOrderedEnumerable
diagnostics IEnumerable
return IOrderedEnumerable
        private static IOrderedEnumerable<Diagnostic> SortDiagnostics(IEnumerable<Diagnostic> diagnostics) =>
            diagnostics.OrderBy(d => d.Location.SourceSpan.Start);