Closed bkoelman closed 8 years ago
The strange thing is: the nullability report goes away when renaming method Do
to M
.
Tracked this down to a Roslyn API call and created https://github.com/dotnet/roslyn/issues/7794.
@starkcolin Feel free to try out this fix in the prerelease version (see https://github.com/bkoelman/ResharperCodeContractNullability#trying-out-the-latest-build).
If that works for you, I'll create a new release.
Happy to report that the issue appears to be resolved. Thanks!
Created a new issue to track the bug submitted at https://github.com/bkoelman/ResharperCodeContractNullability/issues/5#issuecomment-169161211.
@starkcolin Thanks for reporting!
Minimal repro for v1.0.3:
The nullability analyzer incorrectly reports on the line of
D.Do
: