From f9f5fff40c2012dc9631b7128d72c945620ce4fb 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 (#16518) This brings us in line with CoreCLR behavior. --- netcore/System.Private.CoreLib/src/System/TypedReference.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netcore/System.Private.CoreLib/src/System/TypedReference.cs b/netcore/System.Private.CoreLib/src/System/TypedReference.cs index 49f44ebfe1c..74a92a54997 100644 --- a/netcore/System.Private.CoreLib/src/System/TypedReference.cs +++ b/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.11.4.GIT