C# 8 nullable reference type checking
Visual Studio will underline nullable reference types if you have that C# 8 feature turned on but I don't know of a way for Resharper to find all of these so I can fix them in existing code. Is this a current feature that I can turn on or is it in a future release?
Please sign in to leave a comment.
Hello Lance,
Currently, support of nullable reference types is a preview feature. We plan to add the full support in early ReSharper 2019.3 EAP builds.
Thank you.
Same issue here, everything related to Nullable reference types does not seem to work properly. red marks are really annoying,
any idea when 2019.3 will be released?
In the release notes for ReSharper 2019.1: https://www.jetbrains.com/resharper/whatsnew/#v2019-1-initial-c-8-support
It says Nullable reference types are a supported feature. But this is not the case then?
> Most of the new language features are already supported, including:
> [...]
> Nullable reference types
Edit: This is now preventing us from using ReSharper during CI builds, as we are using .NET Core 3.0 and C# 8.0 with the new nullability features. And will also make it difficult for any developers to use ReSharper locally, having to mentally ignore any errors about nullability.
Hello,
There were indeed some changes done between ReSharper 2019.1 and ReSharper 2019.2 versions that have changed the logic of nullable reference types analysis. Moreover, there were also some changes of nullable reference types support between different VS versions.
The full-featured support will come with early ReSharper EAP builds. We are going to publish the first EAP build in a few weeks.
Thank you.