Y
Hacker News
new
|
ask
|
show
|
jobs
by
neonsunset
434 days ago
This is possible if you disregarded compiler warnings and assigned null to a non-nullable location.
1 comments
nextaccountic
433 days ago
Feels like this should be a compiler error. Or saying otherwise, this location isn't very non-nullable if you can assign null to it
link
neonsunset
433 days ago
Just add <WarningsAsErrors>nullable</WarningsAsErrors> to the project manifest.
link