Reporter | Peter Urda (urda) |
---|---|
Created | Feb 16, 2012 2:05:21 AM |
Updated | Feb 16, 2012 2:05:21 AM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Analysis - Find Code Issues |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
I am working on a WCF project, and ReSharper appears to be marking properties of my interface incorrectly. It states that my "Ping" method in the Interface is "unused". Even though the interface is directly inherited from and utilized in a lower class. It complains that a "Type or type member is never used" as a "suggestion". If one was to remove this from the interface as ReSharper suggests, the method would disappear from the WCF server. Ergo, ReSharper shouldn't be suggesting that it should be removed.
Sample below:
Sample below:
Interface
public interface IWcf { [OperationContract] string Ping(); }
WcfClass
public class Wcf : IWcf { public string Ping() { return "pong"; } }