VS2005, C#
Having an enum value defined with the same name as a class, Find References will show all references to the class, instead of the enum when using on the enum. So there is no way to see the references to the enum.
Happens with the same class defined in a lower namespace too.
e.g.:
namespace XYZ
{
public enum MyType { ThisTypeIsNotAClass }
public class ThisTypeIsNotAClass
{
}
}
or
namespace XYZ
{
public enum MyType { ThisTypeIsNotAClass }
}
namespace XYZ.aaa
{
public class ThisTypeIsNotAClass
{
}
}