Resharper error: PossibleNullReferenceException that cannot be

In the following code Resharper shows an error that Request (within the if statement) could be null:

if (!string.IsNullOrEmpty(Request?.QueryString.Value))
{
parameters["query"] = Request.QueryString;
}

Do I miss something?

1 comment
Comment actions Permalink

Just found the official Issue for this: https://youtrack.jetbrains.com/issue/RSRP-479221

Hope to get an update soon.

0

Please sign in to leave a comment.