
Resharper - Bitwise operation on enum which is not marked by [Flags] attribute
Posted Friday, 10 April, 2009 - 22:39 by Anonymous| Project: | The Open Toolkit library |
| Version: | 0.9.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); is showing up a message that ClearBufferMask isn't marked with [FlagsAttribute], would it be possible to add this to any and all relevent enums, it makes a difference in debugging and aids code tidyness!
MSDN has more information.


Comments
#1
This is my bug post, if I can figure out what needs altering I can attempt a diff myself for you!
#2
This is mainly a cosmetic issue, but should be relatively easy to fix through the generator.
#3
Implemented in rev. 1733.
#4
Closing issues resolved in 0.9.8.