From abb2b07eec2808b3663fd7e67133d63413b9ee6c Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Tue, 27 Aug 2019 16:53:37 -0400 Subject: [PATCH] [netcore] Change exception thrown for SetTypedReference (mono/mono#16518) This brings us in line with CoreCLR behavior. Commit migrated from https://github.com/mono/mono/commit/f9f5fff40c2012dc9631b7128d72c945620ce4fb --- src/mono/netcore/System.Private.CoreLib/src/System/TypedReference.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/netcore/System.Private.CoreLib/src/System/TypedReference.cs b/src/mono/netcore/System.Private.CoreLib/src/System/TypedReference.cs index 49f44eb..74a92a5 100644 --- a/src/mono/netcore/System.Private.CoreLib/src/System/TypedReference.cs +++ b/src/mono/netcore/System.Private.CoreLib/src/System/TypedReference.cs @@ -102,7 +102,7 @@ namespace System [CLSCompliant (false)] public unsafe static void SetTypedReference (TypedReference target, Object value) { - throw new NotImplementedException (); + throw new NotSupportedException (); } } } -- 2.7.4