From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 27 Dec 2019 18:40:11 +0000 (+0800) Subject: Apply FlagsAttribute to Characteristics (#837) X-Git-Tag: submit/tizen/20210909.063632~10605 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a07c771146ba57b04057ece8c83cb7d5f7209877;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Apply FlagsAttribute to Characteristics (#837) --- diff --git a/src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs b/src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs index 8fd0fdb..7127f8b 100644 --- a/src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs +++ b/src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs @@ -3132,6 +3132,7 @@ namespace System.Reflection.Metadata.Ecma335 } namespace System.Reflection.PortableExecutable { + [System.FlagsAttribute] public enum Characteristics : ushort { RelocsStripped = (ushort)1, diff --git a/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs index dc4b8dc..7311e5f 100644 --- a/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs +++ b/src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs @@ -4,6 +4,7 @@ namespace System.Reflection.PortableExecutable { + [Flags] public enum Characteristics : ushort { RelocsStripped = 0x0001, // Relocation info stripped from file.