Fix crossgen2 to fix some negative tests (#344)
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 28 Nov 2019 14:52:10 +0000 (15:52 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2019 14:52:10 +0000 (15:52 +0100)
commitb224561fbb57ec287957f16ea7a7156d17d3b750
treef58272205b384959a142979005268214972c5deb
parent1740338df592bedb58cac920dac6b2061c18aa1e
Fix crossgen2 to fix some negative tests (#344)

* Fix crossgen2 to fix some negative tests

This change fixes 4 negative tests in the Loader\classloader\generics\Instantiation\Negative
folder.

The tests were trying to instantiate objects using generic definition types
without supplying generic arguments.
src/coreclr/src/tools/Common/TypeSystem/Common/MetadataFieldLayoutAlgorithm.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs