Bug 55504 - Android.Content.Res.ScreenLayout should be marked with [Flag]
Summary: Android.Content.Res.ScreenLayout should be marked with [Flag]
Alias: None
Product: Android
Classification: Xamarin
Component: Android+BCL Integration (show other bugs)
Version: 7.2 (15.1)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Atsushi Eno
Depends on:
Reported: 2017-04-23 07:13 UTC by softlion
Modified: 2017-10-04 16:40 UTC (History)
3 users (show)

See Also:
Tags: bb ac
Is this bug a regression?: ---
Last known good build:


Description softlion 2017-04-23 07:13:41 UTC
namespace Android.Content.Res
  public enum ScreenLayout

ScreenLayout contains Masks and should be marked with [Flag]
Comment 1 Mark McLemore 2017-06-23 18:52:38 UTC
Hi, can you add some additional context and/or attach a test case for this problem?  This topic provides some useful guidelines: https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/howto-file-bug/

Comment 2 softlion 2017-06-23 19:22:36 UTC
Well this is not really a bug.

Do you know what [Flag] means ?
Comment 3 Mark McLemore 2017-06-23 20:57:29 UTC
The broader developer community would be the best and quickest place to seek answers to questions:

[0] http://stackoverflow.com/questions/tagged/xamarin
[1] https://forums.xamarin.com/
Comment 4 Mark McLemore 2017-06-23 21:02:36 UTC
In case it might also be a helpful reference, you can find some general recommendations on the best places to ask various kinds of questions about Xamarin on:
Comment 5 softlion 2017-06-23 22:53:08 UTC
LOL you are a newbie here and a newbie to c# aren't you ?

Is this your answer for real ?
Please go to msdn, check for the FlagAttribute in the doc.
Once done, you'll be enlightened with the power of resolving this simple issue.

I've already reported other issues like this one and they were fixed.
So do you job, for real !
Comment 6 Mark McLemore 2017-06-23 23:07:48 UTC
Hello @softlion; sorry, my misunderstanding: you were saying above that this is not really a bug. Do you mean that this is a documentation bug?  Can you tell us exactly how you would like this to be resolved?
Comment 7 Mark McLemore 2017-06-23 23:53:28 UTC
If it's a documentation bug, can you provide a link to the page (or pages) in error?  You mentioned MSDN -- are you referring to a page on msdn.microsoft.com or developer.xamarin.com/api (or both)?  Also, you mention "[Flag]", do you really mean "[Flags]" (or perhaps "[System.Flags]")?  Thanks in advance!
Comment 8 Jon Douglas [MSFT] 2017-10-04 16:40:27 UTC
I am confirming this issue based on my observations and previous investigations of similar reports by softlion:


You can also take a look at the API docs and notice there is no [Flags] attribtue on this item:


Just to show what a "marked" item looks like, you can see this here:


Additionally you can look directly at a decompiled DLL on these enums as well.

Note You need to log in before you can comment on or make changes to this bug.