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

RSRP-225568: Compiler error CS1004 is not supported by ReSharper

$
0
0
Reporter Mike Doherty (mikedoherty) Mike Doherty (mikedoherty)
Created Mar 9, 2011 1:56:04 PM
Updated Feb 28, 2012 6:43:45 PM
Resolved Feb 28, 2012 6:43:45 PM
Priority Critical
Type Bug
Fix versions 6.1.1
State Fixed
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions 5.1.3
Fixed in build No Fixed in build
I got the compiler error below whilst compiling a project where I had foolishly inserted a duplicate static modifier as the result of a find and replace. I was surprised that ReSharper hadn't warned me.

Error message: error CS1004: Duplicate 'static' modifier

Code sample:

public static static SomeMethod()
{}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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