Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2017-07-21 22:23:32 +0300
committerAndrew Au <andrewau@microsoft.com>2017-07-21 22:23:32 +0300
commit451b7e96f472df1e6941bfcc3a257d3b9dd82066 (patch)
tree7b48625b50e041476fbd266b11075a1f877a5f1b /src/System.Private.TypeLoader
parentb683cb0f59d4ac42a2a26d8f66efff60374d85ca (diff)
Debugger Support
[tfs-changeset: 1667293]
Diffstat (limited to 'src/System.Private.TypeLoader')
-rw-r--r--src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebugFuncEval.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebugFuncEval.cs b/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebugFuncEval.cs
index c7f5f9b87..f7c62b37d 100644
--- a/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebugFuncEval.cs
+++ b/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebugFuncEval.cs
@@ -223,6 +223,7 @@ namespace Internal.Runtime.DebuggerSupport
if (isConstructor)
{
+ // TODO, FuncEval, deal with Nullable objects
typesAndValues.thisObj = RuntimeAugments.RawNewObject(typesAndValues.types[1]);
}
@@ -249,6 +250,8 @@ namespace Internal.Runtime.DebuggerSupport
TypeSystemContextFactory.Recycle(typeSystemContext);
RuntimeTypeHandle objectTypeHandle = objectTypeDesc.GetRuntimeTypeHandle();
+
+ // TODO, FuncEval, deal with Nullable objects
object returnValue = RuntimeAugments.RawNewObject(objectTypeHandle);
GCHandle returnValueHandle = GCHandle.Alloc(returnValue);