Resharper won't warn for "unused" parameter if implementing interface

[4.5.1288.2]
public interface IFoo
{
          void Bar(int bar);
}
public class Foo : IFoo
{
          public void Bar(int bar)
          {

          }
}


In this case Resharper won't warn me about the unused bar variable in Foo.Bar. However I get a warning for the IFoo.Bar that "Parameter 'bar' is used in none of implementations."

Shouldn't I also be warned about the unused bar parameter in Foo.Bar? (Since if I implement the interface in another class which actually does use the bar parameter, Resharper won't warn me at all...)

Please sign in to leave a comment.