Anonymous's picture

Resharper - Bitwise operation on enum which is not marked by [Flags] attribute

Project:The Open Toolkit library
Category:feature request

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.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sacro's picture


This is my bug post, if I can figure out what needs altering I can attempt a diff myself for you!

the Fiddler's picture


Status:open» confirmed

This is mainly a cosmetic issue, but should be relatively easy to fix through the generator.

the Fiddler's picture


Version:all versions» 0.9.x-dev
Status:confirmed» fixed

Implemented in rev. 1733.

the Fiddler's picture


Status:fixed» closed

Closing issues resolved in 0.9.8.