dotnet/corefx — pull request #221 by stephentoub (2014-12-10 13:49:01+00:00)
Title: Fix vector tests warnings about obsolete Marshal.SizeOf

The System.Numerics.Vectors tests were causing build warnings like the following:

Vector2Tests.cs(15,29): warning CS0618: 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' is obsolete: 'SizeOf(Type) may be unavailable in future releases. Instead, use SizeOf().

This changes does exactly that.