Ensure Ready-to-Run module is activated in generics dictionary lookup (#5288)
authorJohn Chen <jochen@microsoft.com>
Sat, 28 May 2016 17:34:22 +0000 (10:34 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sat, 28 May 2016 17:34:22 +0000 (10:34 -0700)
commit80b11809300d2b762a5ce09bf5a69d9f7003d06b
tree0fe36cf3a59d1b7809721a7e913497f23c869414
parent4aa7ce273f03d242fddfbe134aa6d0144045e2da
Ensure Ready-to-Run module is activated in generics dictionary lookup (#5288)

Under certain conditions, a Ready-to-Run module is not yet fully
activated when its contents are used. This can cause asserts in
debug build. It can also cause module constructor to be run too late.
src/vm/genericdict.cpp
tests/src/readytorun/genericsload/app.config [new file with mode: 0644]
tests/src/readytorun/genericsload/callgenericctor.cs [new file with mode: 0644]
tests/src/readytorun/genericsload/callgenericctor.csproj [new file with mode: 0644]
tests/src/readytorun/genericsload/genericslib.il [new file with mode: 0644]
tests/src/readytorun/genericsload/genericslib.ilproj [new file with mode: 0644]
tests/src/readytorun/genericsload/project.json [new file with mode: 0644]
tests/src/readytorun/genericsload/usegenericfield.cs [new file with mode: 0644]
tests/src/readytorun/genericsload/usegenericfield.csproj [new file with mode: 0644]