Comments
Sort by recent activity
The intention for the requsted analyse method is to find places where specifically one single member (e.g. ComboBoxStyle.Simple) is used and *not* the other members.
Places where all enum members could potentially be used are already sufficiently covered through the analyse method on the enum type.
A small test program shows that even source code like
private static ComboBoxStyle Foo()
{
const int value = 1;
return (ComboBoxStyle)value;
}
is already disassembled as
private static ComboBoxStyle Foo()
{
return ComboBoxStyle.DropDown;
}
/ comments
The intention for the requsted analyse method is to find places where specifically one single member (e.g. ComboBoxStyle.Simple) is used and *not* the other members.
Places where all enum members c...