diff options
author | Atsushi Kanamori <AtsushiKan@users.noreply.github.com> | 2018-04-23 13:42:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 13:42:24 -0700 |
commit | 5a42b8c7348ba7dfa0dbf423d36245570488c888 (patch) | |
tree | c35278add0c8c8ab6fd9d2063f1d37494c5feb7e /src/vm/invokeutil.h | |
parent | 72dd7f2146cee213babb18378130e4375442aca1 (diff) | |
download | coreclr-5a42b8c7348ba7dfa0dbf423d36245570488c888.tar.gz coreclr-5a42b8c7348ba7dfa0dbf423d36245570488c888.tar.bz2 coreclr-5a42b8c7348ba7dfa0dbf423d36245570488c888.zip |
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
Diffstat (limited to 'src/vm/invokeutil.h')
-rw-r--r-- | src/vm/invokeutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/invokeutil.h b/src/vm/invokeutil.h index 80db62251c..79ded1d76b 100644 --- a/src/vm/invokeutil.h +++ b/src/vm/invokeutil.h @@ -105,7 +105,7 @@ public: // Given a type, this routine will convert an return value representing that // type into an ObjectReference. If the type is a primitive, the // value is wrapped in one of the Value classes. - static OBJECTREF CreateObject(TypeHandle th, void * pValue); + static OBJECTREF CreateObjectAfterInvoke(TypeHandle th, void * pValue); // This is a special purpose Exception creation function. It // creates the TargetInvocationExeption placing the passed |