[Mono-devel-list] Re: Fixes to XSLT
atsushi at ximian.com
Tue Feb 8 10:21:36 EST 2005
Andrew Skiba wrote:
> 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
> associated value.
> Andrew Skiba
Oh, sure. thanks.
More information about the Mono-devel-list