From 6558dc4606509c1eda7dd2d2b5a2f1c9b57dc772 Mon Sep 17 00:00:00 2001 From: Atsushi Kanamori Date: Thu, 31 Aug 2017 11:48:00 -0700 Subject: [PATCH] Add the enum value for BindingFlags.DoNotWrapExceptions This was approved here. https://github.com/dotnet/corefx/issues/22866 This does not implement the feature, it just adds the member to the enum so that CoreCLR and CoreRT will agree on the value. --- .../shared/System/Reflection/BindingFlags.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs b/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs index 26c875d0f9d..7ba83e20da6 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/BindingFlags.cs @@ -46,5 +46,6 @@ public enum BindingFlags // These are a couple of misc attributes used IgnoreReturn = 0x01000000, // This is used in COM Interop + DoNotWrapExceptions = 0x02000000, // Disables wrapping exceptions in TargetInvocationException } }