Skip to content

Extend the existing analyzers to support nullable enums#244

Merged
andrewlock merged 2 commits into
mainfrom
nullability-usage-analyzers
Mar 9, 2026
Merged

Extend the existing analyzers to support nullable enums#244
andrewlock merged 2 commits into
mainfrom
nullability-usage-analyzers

Conversation

@andrewlock
Copy link
Copy Markdown
Owner

@andrewlock andrewlock commented Mar 8, 2026

We have to do a bit of weirdness to support the current behaviour of calling ToString() on a nullable, which makes me wonder if we should add overloads that take the nullable version? 🤔 Probably not I guess...

Fixes #245

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

Test Results

    216 files  ±  0      216 suites  ±0   6h 15m 27s ⏱️ + 29m 50s
 29 030 tests + 17   29 026 ✅ + 17   4 💤 ±0  0 ❌ ±0 
512 227 runs  +306  512 155 ✅ +306  72 💤 ±0  0 ❌ ±0 

Results for commit b81c318. ± Comparison against base commit c2b35a1.

@andrewlock andrewlock merged commit d86dd76 into main Mar 9, 2026
5 checks passed
@andrewlock andrewlock deleted the nullability-usage-analyzers branch March 9, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add analysers for nullable enum usages

1 participant