Implement RuntimeHelpers.PrepareMethod/PrepareDelegate for CoreCLR (#16382)
authorJan Kotas <jkotas@microsoft.com>
Thu, 15 Feb 2018 06:19:16 +0000 (20:19 -1000)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2018 06:19:16 +0000 (20:19 -1000)
commit73a175f06746d386084af5d3362994c1077bc6f5
treed4a34a1f60236d577c4450e5b39ac6cbab6a3cf6
parent4df1be73ae83ad1e747519d09f67faace6b8aba7
Implement RuntimeHelpers.PrepareMethod/PrepareDelegate for CoreCLR (#16382)

* Implement RuntimeHelpers.PrepareMethod/PrepareDelegate for CoreCLR

CoreCLR implementation of this method triggers jiting of the given method only.
It does not walk a subset of callgraph to provide CER guarantees because of CERs
are not supported by CoreCLR.

Fixes #15522
src/mscorlib/Resources/Strings.resx
src/mscorlib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
src/vm/ecalllist.h
src/vm/reflectioninvocation.cpp
src/vm/reflectioninvocation.h