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