Enable Invoke and GetValue for ref-returning members (#17732)
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Mon, 23 Apr 2018 20:42:24 +0000 (13:42 -0700)
committerGitHub <noreply@github.com>
Mon, 23 Apr 2018 20:42:24 +0000 (13:42 -0700)
commit5a42b8c7348ba7dfa0dbf423d36245570488c888
treec35278add0c8c8ab6fd9d2063f1d37494c5feb7e
parent72dd7f2146cee213babb18378130e4375442aca1
Enable Invoke and GetValue for ref-returning members (#17732)

* Reapply https://github.com/dotnet/coreclr/pull/17639

* tryagain-wip 4/23/2018 7:27:37 AM - Fix Invoke of enum-returning methods

* Assert for refbufargs implying valuetype

* Catch ref to void in managed layer
src/dlls/mscorrc/mscorrc.rc
src/dlls/mscorrc/resource.h
src/mscorlib/Resources/Strings.resx
src/mscorlib/src/System/Reflection/RuntimeMethodInfo.cs
src/vm/invokeutil.cpp
src/vm/invokeutil.h
src/vm/reflectioninvocation.cpp