projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49b541
)
Apply FlagsAttribute to Characteristics (#837)
author
Next Turn
<45985406+NextTurn@users.noreply.github.com>
Fri, 27 Dec 2019 18:40:11 +0000
(
02:40
+0800)
committer
Jan 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
patch
|
blob
|
history
src/libraries/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs
patch
|
blob
|
history
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
(file)
--- 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
(file)
--- 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.