From a07c771146ba57b04057ece8c83cb7d5f7209877 Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Sat, 28 Dec 2019 02:40:11 +0800 Subject: [PATCH] Apply FlagsAttribute to Characteristics (#837) --- .../System.Reflection.Metadata/ref/System.Reflection.Metadata.cs | 1 + .../src/System/Reflection/PortableExecutable/PEFileFlags.cs | 1 + 2 files changed, 2 insertions(+) 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. -- 2.7.4