[Mono-devel-list] Re: Fixes to XSLT
andrews at mainsoft.com
Tue Feb 8 10:15:01 EST 2005
Atsushi Eno wrote:
>> Hm, MonoDevelop then has to solve this problem somehow. What will
>> happen if a user defines her own enum where few members have an equal
>> value? Then you must go further and forbid such enum members in the
>> language like you forbid duplicated cases in switch statement.
> Is there such an enumeration type which is not buggy?
Citation from C# language standard
21.3 Enum members
Multiple enum members can share the same associated value. [Example: The
Max = Blue
shows an enum that has two enum members—Blue and Max—that have the same
More information about the Mono-devel-list