Issue 9930 - enum members should be hidden in an enum instance

https://d.puremagic.com/issues/show_bug.cgi?id=9930