Commit Graph

9 Commits

Author SHA1 Message Date
YoshiRulz a8e7c3d031
Add trailing commas to `switch` expressions 2025-03-29 07:18:49 +10:00
YoshiRulz ca0ddeffef
Improve highlight locations of some BizHawk.Analyzer diagnostics 2025-03-20 07:35:47 +10:00
YoshiRulz 8d71c8a505
Add Analyzer for suggesting adding `checked` operators 2025-02-22 17:07:35 +10:00
YoshiRulz 507b30a1dc
Use global imports in Analyzer projects 2025-02-22 11:15:18 +10:00
YoshiRulz af32948756
Add Analyzer to warn about LINQ calls on string receivers 2025-01-31 14:49:40 +10:00
James Groom dae3fe3803
Fix import placement in Analyzers
fixes 362269c98, presumably, and f2a479410
2023-10-26 23:03:14 +10:00
CasualPokePlayer f2a4794105 Use source generation for SettingsUtil.SetDefaultValues 2023-10-25 22:52:06 -07: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 7efafc18da
Extract helper code for Analyzers and Source Generators 2022-10-01 04:13:55 +10:00