Bug 39789 - Many "flag" enums are missing [Flags]
Summary: Many "flag" enums are missing [Flags]
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 2.4.1 (C6SR1)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-03-19 17:17 UTC by SteveP
Modified: 2016-12-07 15:39 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description SteveP 2016-03-19 17:17:44 UTC
NSApplicationPresentationOptions should have Flags attribute so that Source Analysis doesn't give warnings when or-ing
Comment 1 Chris Hamons 2016-03-21 13:59:41 UTC
It appears we have a number of enums "flags" fields that are not marked with [Flags]. I'm going to expand this bug's scope.
Comment 3 Chris Hamons 2016-12-06 22:35:20 UTC
https://github.com/xamarin/xamarin-macios/pull/1310
Comment 4 Chris Hamons 2016-12-07 15:39:16 UTC
Fixed in master.