Apply FlagsAttribute to Characteristics (#837)
authorNext Turn <45985406+NextTurn@users.noreply.github.com>
Fri, 27 Dec 2019 18:40:11 +0000 (02:40 +0800)
committerJan Kotas <jkotas@microsoft.com>
Fri, 27 Dec 2019 18:40:11 +0000 (10:40 -0800)
src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs
src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs

index 8fd0fdb..7127f8b 100644 (file)
@@ -3132,6 +3132,7 @@ namespace System.Reflection.Metadata.Ecma335
 }
 namespace System.Reflection.PortableExecutable
 {
+    [System.FlagsAttribute]
     public enum Characteristics : ushort
     {
         RelocsStripped = (ushort)1,
index dc4b8dc..7311e5f 100644 (file)
@@ -4,6 +4,7 @@
 
 namespace System.Reflection.PortableExecutable
 {
+    [Flags]
     public enum Characteristics : ushort
     {
         RelocsStripped = 0x0001,         // Relocation info stripped from file.