[Feature Request] Enable nullable type checks
Currently BenchmarkDotNet using <Nullable>annotations</Nullable> setting.
Is there a plan to migrate to use <Nullable>enable</Nullable> in future?
Migration path
Currently 828 errors are raised when setting <Nullable>enable</Nullable> on solution-level.
Therefore, it might be better to migrate with following steps.
- Enable nullable check with
#nullable enablesetting per-files. and fix build errors. - When entire code is refactored. Migrate to use
<Nullable>enable</Nullable>. And remove#nullable enablesettings
Background
When accessing ExecuteResult::StandardOutput property.
It's expected to be non-null value is returned.
But it returns null in some cases (When used constructor that don't initialize StandardOutput property)
Can I work on this? If anyone already started, please share here. I welcome any suggestions you might have.
@kapilepatel Sure you can work on it. I'm fine if you want to enable nullable and fix all the errors at once, or do it more piece-meal like @filzrev suggested. Up to you.