diff options
author | Andrew Au <andrewau@microsoft.com> | 2017-07-21 22:23:32 +0300 |
---|---|---|
committer | Andrew Au <andrewau@microsoft.com> | 2017-07-21 22:23:32 +0300 |
commit | 451b7e96f472df1e6941bfcc3a257d3b9dd82066 (patch) | |
tree | 7b48625b50e041476fbd266b11075a1f877a5f1b /src/System.Private.TypeLoader | |
parent | b683cb0f59d4ac42a2a26d8f66efff60374d85ca (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.cs | 3 |
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); |