[mono] Allow creating `TypedReference *` and `TypedReference &` via reflection. ...
authorimhameed <imhameed@microsoft.com>
Fri, 7 Aug 2020 21:55:57 +0000 (14:55 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Aug 2020 21:55:57 +0000 (14:55 -0700)
commit2f13c5fac55105a28869a37a4105d81f6320c97a
tree3f028b9ab1064dc31aa0170d7a650e25e0d65d4b
parentc5e4fd71a8fe52026213d098b966b778dde60201
[mono] Allow creating `TypedReference *` and `TypedReference &` via reflection. (#40472)

CoreCLR gained support for creating`TypedReference *` and `TypedReference &` via `MakePointerType` and `MakeByRefType` in https://github.com/dotnet/coreclr/pull/25817.

Reenable byref System.Void-related reflection tests.

Fixes https://github.com/dotnet/runtime/issues/31713.
Fixes https://github.com/dotnet/runtime/issues/37489.
src/libraries/System.Runtime/tests/System/Type/TypePropertyTests.cs
src/libraries/System.Runtime/tests/System/Type/TypeTests.cs
src/mono/mono/metadata/icall.c