I have a C # class with various static public properties that work like keys.
Over time, this class is reorganized many times, and some keys are deprecated and no longer reference other classes from projects in the same Visual Studio solution.
I want to check with reflection or in some other way whether any of these keys (properties) are used in other classes in the Visual Studio solution.
I want to write unit test to find out if any keys are being used.
How could I do this?
source share