Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 266 Bytes

MA0030.md

File metadata and controls

11 lines (8 loc) · 266 Bytes

MA0030 - Remove useless OrderBy call

Remove duplicate OrderBy methods, or replace the second OrderBy with ThenBy

new int[0].OrderBy(x => x).OrderBy(x => x);

// Should be
new int[0].OrderBy(x => x);
new int[0].OrderBy(x => x).ThenBy(x => x);