summaryrefslogtreecommitdiff
path: root/src/vm/invokeutil.h
diff options
context:
space:
mode:
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>2018-04-23 13:42:24 -0700
committerGitHub <noreply@github.com>2018-04-23 13:42:24 -0700
commit5a42b8c7348ba7dfa0dbf423d36245570488c888 (patch)
treec35278add0c8c8ab6fd9d2063f1d37494c5feb7e /src/vm/invokeutil.h
parent72dd7f2146cee213babb18378130e4375442aca1 (diff)
downloadcoreclr-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.h2
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