Disable assertions in ModuleBuilder.DefineEnum
authorRuss Keldorph <Russ.Keldorph@microsoft.com>
Thu, 26 Jan 2017 01:47:55 +0000 (17:47 -0800)
committerRuss Keldorph <Russ.Keldorph@microsoft.com>
Thu, 26 Jan 2017 01:53:28 +0000 (17:53 -0800)
commit1de6fe60fd616b4c25f64f8d1c6f17a1e45915d1
treef4a792d7ba7c9e70b649f641bf04814717c55a15
parent6f7baa9e1ec9a848c1b98a4af8d9d8c2851ef023
Disable assertions in ModuleBuilder.DefineEnum

The assertions fire when the enum name contains embedded null characters,
and we don't want to take a breaking change to fix that.

Fixes #7669
src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs