[mono] Improve how EnumBuilder handles type attributes (#33389)
authorAlexis Christoforides <alexis@thenull.net>
Thu, 12 Mar 2020 10:53:47 +0000 (06:53 -0400)
committerGitHub <noreply@github.com>
Thu, 12 Mar 2020 10:53:47 +0000 (06:53 -0400)
commit26a1607acc5888265aca2f68120b7e246b1865b8
treeb3f79637a0f30ffbf42f520b3a7d9ac0be19a218
parent0eb33d5867e4fdc5f863ba6da5d74ad3c0a78109
[mono] Improve how EnumBuilder handles type attributes (#33389)

Literally copy set of attributes from https://github.com/dotnet/runtime/blob/dc62dd61071c239401ef6397a4d7ae29161d10a7/src/coreclr/src/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.cs#L330
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/EnumBuilder.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.Mono.cs