[runtime] Fix Marshal.SizeOf (typeof (void)). (#10601)
commite0221129db0f2e71f13bd7cc75cf7e6efd83040e
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 14 Sep 2018 12:21:24 +0000 (14 08:21 -0400)
committerLudovic Henry <luhenry@microsoft.com>
Fri, 14 Sep 2018 12:21:24 +0000 (14 08:21 -0400)
tree899d219b90d16d874bd93353df5792fcf3d6ad66
parentfbaeba4fec17df1c730550e2355316121f309976
[runtime] Fix Marshal.SizeOf (typeof (void)). (#10601)

Fixes https://github.com/mono/mono/issues/10303.
mcs/class/corlib/Test/System.Runtime.InteropServices/MarshalTest.cs
mono/metadata/marshal.c