[netcore] Allow all primitive types to be passed to Buffer.BlockCopy (#13544)
commitb87bd4f6e401f70f6f193abda1aa5c619e881336
authorEgor Bogatov <egorbo@gmail.com>
Wed, 20 Mar 2019 07:41:59 +0000 (20 09:41 +0200)
committerMarek Safar <marek.safar@gmail.com>
Wed, 20 Mar 2019 07:41:58 +0000 (20 08:41 +0100)
treee570d94ced3be542b56d6d676409c6b0fa715f10
parent8b4eef938721676216965e8f59c2e6f1a9c8099b
[netcore] Allow all primitive types to be passed to Buffer.BlockCopy (#13544)

* Update Buffer.cs

* allow all primitive types to be passed to BlockCopy

* convert Len to bytes
mcs/class/System.Private.CoreLib/System/Buffer.cs