I have a pattern my company has used for many years where when we implement an interface we defined it all in a separate partial class in the same file.
public partial class Foo
{
// other members go in this partial class
}
public partial class Foo : IDisposable
{
// only IDispoable members go in this partial class
public void Dispose() {}
}
This pattern however triggers RCS1060, which I don't think it should. It is the same type being declared.
I have a pattern my company has used for many years where when we implement an interface we defined it all in a separate partial class in the same file.
This pattern however triggers
RCS1060, which I don't think it should. It is the same type being declared.