Hi, I've got following piece of code:
public interface IContainerAccessor
{
IWindsorContainer Container { get; }
}
public class WebCandidateHttpApplication : IContainerAccessor
{
public static IWindsorContainer Container { get; private set; }
IWindsorContainer IContainerAccessor.Container => Container;
...
}
SonarQube gives an error "Remove this unused private member." about this line:
IWindsorContainer IContainerAccessor.Container => Container;
I think it is not correct, because it is explicit interface implementation, so this property is not really private. What else - I've checked references and it's used somewhere in my project. SonarQube wrong interprets it?