[Mono-bugs] [Bug 676727] New Rule - Check Enums for overlapping values

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 3 12:34:31 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=676727

https://bugzilla.novell.com/show_bug.cgi?id=676727#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msafar at novell.com

--- Comment #1 from Marek Safar <msafar at novell.com> 2011-03-03 17:34:31 UTC ---
There are couple of scenarios where overlapping is intended

For instance

enum E
{
Fist = X
A = First,
B, C, D,
Last = D
}

or similar case for compound masks which are expected to change in the future

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list