Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287728: string alias is marked as possible null reference when used to call static methodes

$
0
0
Reporter Sven Heitmann (sheitmann) Sven Heitmann (sheitmann)
Created Jan 12, 2012 4:35:13 PM
Updated Jan 16, 2012 9:09:49 PM
Resolved Jan 16, 2012 4:11:12 PM
Priority Normal
Type Bug
Fix versions Next
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Analysis
Affected versions 6.1.1
Fixed in build 6.5.1.2465
Hi.

First it is important to note that this issue occurs only if I activate "Assume entity value can be null: When entity doesn't have explicit NOtNull attribute".
We switched to it as it helps us much more to find code issues.
Ok now to the issue itself.

Please find attached 2 screenshots.
The first one shows the error when I use "string.IsNullOrEmpty" and the second one that there is no error when I use "String.IsNullOrEmpty".

Kind regards,
Sven

Viewing all articles
Browse latest Browse all 106942

Trending Articles