Resharper: Suspicious type conversion or check
Asked Answered
N

1

6

So while using ReSharper, I was trying to configure my Code Inspection settings and I ran into an issue with one particular case.

When trying to change the 'Suspicious type conversion or check' severity level from Warning to Error, I noticed the Error dropdown didn't exist for this case. After doing some looking around the internet I was unable to find any information as to why the 'Error' Severity would be missing from this case.

'Suspicious type conversion or check' is located under the 'Potential Code Quality Issues':

options page

Newbold answered 8/8, 2014 at 23:37 Comment(0)
N
1

Some inspections, like the one you mentioned, require R#'s "solution-wide analysis". See Solution-Wide Code Inspections.

In the current version 8.2.1 these inspections cannot be configured to the "error" severity level (even if the "solution-wide analysis" is turned on).

Nicholson answered 11/8, 2014 at 9:23 Comment(1)
this isn't an answer - it's just restating the questionConsonance

© 2022 - 2024 — McMap. All rights reserved.