Possible NullReferenceException

In an ASPX page, if I do something like:

If(NullableObject == null) Response.Redirect(errorPage);
var item = NullableObject.Item;

The second line is marked (incorrectly) as a possible null reference.



1 comment

Hi David!
Issue is confirmed. Will be fixed in next public available build.
I mean time, you can apply update by attached file at %ReSharper%\Bin\ExternalAnnotations\System.Web\ location.



Attachment(s):
System.Web.Nullness.xml
0

Please sign in to leave a comment.