Commit Graph

6374 Commits

Author SHA1 Message Date
0eb589d785 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:16 +00:00
5bb04c0204 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:15 +00:00
f44172edb9 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:15 +00:00
f90cc6593f Unfix async Task where it doesn't work. 2022-11-14 09:41:19 +00:00
5a1a7ad39a Use string interpolation. 2022-11-14 01:50:39 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
368e40d7bd More pattern matching. 2022-11-14 01:49:10 +00:00
a02220902c More pattern matching. 2022-11-14 01:49:09 +00:00
8a511d0d44 Fix async void when it should be async Task, ignore the rest. 2022-11-14 01:38:50 +00:00
a9726d0661 Remove redundant cast. 2022-11-14 01:28:21 +00:00
ad2d0b8a24 Convert into '?:' expression. 2022-11-14 01:27:16 +00:00
e6db6032f3 Convert into '?:' expression. 2022-11-14 01:27:11 +00:00
2b40eab0d2 Use object initializer. 2022-11-14 01:23:52 +00:00
f9e9b07584 Use object initializer. 2022-11-14 01:23:52 +00:00
c2878f9a42 Use negated pattern. 2022-11-14 01:20:28 +00:00
c4a95c40ca Use negated pattern. 2022-11-14 01:20:28 +00:00
6a4dea75ea Use range indexers. 2022-11-14 01:15:06 +00:00
e0508f096c Inline 'out' variable declaration. 2022-11-14 01:10:11 +00:00
073b7c183d Convert chain of conditional expressions into switch expressions. 2022-11-14 01:06:15 +00:00
a17a6e1788 Convert chain of conditional expressions into switch expressions. 2022-11-14 01:06:06 +00:00
15b36ff898 Use LINQ's MinBy and MaxBy. 2022-11-14 01:04:32 +00:00
84a5efe216 Remove redundant else. 2022-11-14 01:00:06 +00:00
937d6929a0 Remove redundant else. 2022-11-14 00:59:58 +00:00
d64c48dc6d Invert 'if' statements to reduce nesting. 2022-11-13 21:14:18 +00:00
2a6ca74a78 Invert 'if' statements to reduce nesting. 2022-11-13 21:14:17 +00:00
3653864128 Invert 'if' statements to reduce nesting. 2022-11-13 21:14:16 +00:00
c316cef523 Convert if to return statements. 2022-11-13 20:54:06 +00:00
a9fdbe5585 Convert if to return statements. 2022-11-13 20:54:01 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
83612d6084 Merge null/pattern checks into complex pattern. 2022-11-13 20:46:23 +00:00
7fbeaebfd3 Merge null/pattern checks into complex pattern. 2022-11-13 20:46:23 +00:00
df78159688 Merge null/pattern checks into complex pattern. 2022-11-13 20:46:22 +00:00
c68760ec49 Fix inconsistent naming. 2022-11-13 20:38:15 +00:00
e727683929 Fix inconsistent naming. 2022-11-13 20:38:14 +00:00
6d8fcb4d8b Fix inconsistent naming. 2022-11-13 20:38:14 +00:00
6911b6e175 Use foreach instead of for-loops where appropriate. 2022-11-13 20:31:51 +00:00
7437cb04a5 Use foreach instead of for-loops where appropriate. 2022-11-13 20:31:50 +00:00
c1f24c46a9 Join local variable declaration and assignment. 2022-11-13 20:27:32 +00:00
6586721321 Join local variable declaration and assignment. 2022-11-13 20:27:32 +00:00
018c289d69 Join local variable declaration and assignment. 2022-11-13 20:27:31 +00:00
e449e53454 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
0f94c5fc01 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
5764c3d844 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
98f08919d6 Convert to switch expression. 2022-11-13 19:59:23 +00:00
f0bee36d9e Convert to switch expression. 2022-11-13 19:59:23 +00:00
18c1903d2f Convert to switch expression. 2022-11-13 19:59:22 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
cd2d27c2cf Convert if to switch statement. 2022-11-13 19:38:02 +00:00
02d6222ae9 Convert if to switch statement. 2022-11-13 19:38:02 +00:00