I have too many method overloads for each method and I'm thinking how to make MyClass more easily understandable/usable to other developers. My ideas:
1.
make it partial class and new file name MyClassOldMethods.cs with all methods marked
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
this does not work, cause project is part of solution.
2.
Make old method overload as extension methods in other file in new static class. But I can't hide them from intellisense or can I?
Lots of existing code exist so the solution must be backward compatible. I have a feeling that this is wrong in a 1st place, but can it be done?
Edit: SO wants me to explain that How to hide public methods from intellisense is not a duplicate. it does not answer the question. i read it before posting. The answers clearly state that EditorBrowsableState does not hide anything in same solution and it has nothing to do with partitioning obsolete but somewhere used overloads. I want to know is it wrong to move instance mthods to extension methods.