Reporter | 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:
Error message: error CS1004: Duplicate 'static' modifier
Code sample:
public static static SomeMethod() {}