public enum ScreenLayout
ScreenLayout contains Masks and should be marked with [Flag]
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/
Well this is not really a bug.
Do you know what [Flag] means ?
The broader developer community would be the best and quickest place to seek answers to questions:
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:
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 !
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?
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!
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.