Change Vector<T> to use more compact code using S.R.CS.Unsafe (#26637)
commit0055195d1c8fdf2fa2f165e4ce6faa792488d699
authorJan Kotas <jkotas@microsoft.com>
Wed, 11 Sep 2019 14:02:21 +0000 (11 07:02 -0700)
committerLarry Ewing <lewing@microsoft.com>
Thu, 12 Sep 2019 18:27:35 +0000 (12 13:27 -0500)
treeb75522583a5ef1be3a6cea0a6a91cf75054facb2
parent43c5aa0dad43ee93a9a248789df160b317dd5ce4
Change Vector<T> to use more compact code using S.R.CS.Unsafe (#26637)

S.R.CS.Unsafe is used in number of places in Vector<T> already. This change modifies more places to use it to make the code more compact.

Updated Vector.tt template to match while I was on it

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs
netcore/System.Private.CoreLib/shared/System/Numerics/Vector.tt