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

RSRP-298649: Cannot distinguish "Parameter 'x' is only used for precondition check(s)" from "Unused parameter" rules

$
0
0
Reporter Zaki Maksyutov (ZakiMa) Zaki Maksyutov (ZakiMa)
Created May 1, 2012 3:31:34 AM
Updated May 1, 2012 3:31:34 AM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Hello,

I got a "Parameter 'x' is only used from precondition check(s)" warning from R# and I don't neceserraly agree with it in my case.

Also I don't like the idea of annotating the method with AssertionMethod attribute. Instead I would like to change the level to Hint.

But I cannot do it since this rule is actually an "Unused parameter" rule which is very valuable.

So, is there a chance to create a standalone rule for "precondition check(s)" so it would be possible to distinguish them?

Thanks,
Zaki

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>