YoshiRulz
b5ff65f2cb
Add Analyzer to enforce spaces in `[]`
2024-05-30 15:51:20 +10:00
YoshiRulz
ea15126fe1
Minor refactors to first-party Analyzers and Source Generators
2024-05-30 09:22:18 +10:00
YoshiRulz
b8c600783a
Apply `<GenerateDocumentationFile/>` to satellite .NET projects
2024-05-30 09:22:17 +10:00
Morilli
fd36a37f17
Fix BizHawk.Analyzer potentially throwing
...
Co-Authored-By: James Groom <13409956+YoshiRulz@users.noreply.github.com>
2024-04-20 17:01:59 +02:00
YoshiRulz
4a752f66b7
Add Analyzer to require checking or discarding `TryGetValue`
...
I'm pretty sure all the existing instances were intended to use `default(T)` if
the key isn't present, except maybe the cheatcode converters but I don't care to
rewrite those at the moment
2023-05-05 06:27:15 +10:00
YoshiRulz
8a5921182e
Add Analyzer to disallow discarding locals e.g. `_ = result;`
...
fixes 70bd081a9
, a2185d9ef
2023-04-29 01:52:43 +10:00
YoshiRulz
65ffa3fc2e
Blindly update NuGet deps
...
temporarily disabled MA0020
2023-04-16 09:02:40 +10:00
YoshiRulz
7efafc18da
Extract helper code for Analyzers and Source Generators
2022-10-01 04:13:55 +10:00
YoshiRulz
466d052c2d
Clean up project files of external .NET projects
2022-09-30 08:51:57 +10:00
YoshiRulz
a5652ee3bc
Backport `IEnumerable.Order`/`OrderDescending` shorthand
...
at time of writing, in .NET 7 preview
https://github.com/dotnet/runtime/pull/70525
2022-08-13 02:18:26 +10:00
YoshiRulz
140e340a8d
Add Analyzer rule to warn of `FirstOrDefault` on list of structs
2022-07-28 03:06:01 +10:00
YoshiRulz
a2fef59fe1
Add Analyzer rule to prohibit `typeof(T).ToString()`
2022-07-22 03:51:43 +10:00
YoshiRulz
f3f90a4cd5
Add Analyzer rules to prohibit `this.GetType()`
...
seriously Meziantou is a godsend
2022-07-22 03:51:42 +10:00
YoshiRulz
dcc8957be3
Fast-fail Analyzer properly, fix typo
...
thanks to https://www.meziantou.net/working-with-types-in-a-roslyn-analyzer.htm
2022-07-22 03:51:36 +10:00
YoshiRulz
3fddcdb2c5
Add Analyzer rule to enforce throwing in `[FeatureNotImplemented]`
2022-07-15 22:22:28 +10:00
YoshiRulz
26e02033f2
Do the analysis for BHI1005 properly
2022-07-15 22:22:28 +10:00
YoshiRulz
4f98733c29
Add Analyzer to enforce exception type for default switch branches
2022-07-14 23:46:34 +10:00
YoshiRulz
395aa0755b
Add `BizHawk.Analyzer` project
2022-07-14 04:26:27 +10:00