[netcore] Change exception thrown for SetTypedReference (#16518)
commitf9f5fff40c2012dc9631b7128d72c945620ce4fb
authorRyan Lucia <rylucia@microsoft.com>
Tue, 27 Aug 2019 20:53:37 +0000 (27 16:53 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 27 Aug 2019 20:53:37 +0000 (27 22:53 +0200)
tree78b9bad74732a496824b4aea84a2da69a4bcb786
parent44d33673a5d390e1f691967eb776c608d60b7a64
[netcore] Change exception thrown for SetTypedReference (#16518)

This brings us in line with CoreCLR behavior.
netcore/System.Private.CoreLib/src/System/TypedReference.cs