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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2012-02-01 04:36:06 +0400
committerJeffrey Stedfast <jeff@xamarin.com>2012-02-01 04:36:06 +0400
commite913e2663ac0ccba0f5297568ea50189a68c3003 (patch)
tree0901947831226354ca383fb30f5dc2338fa23534 /extras
parentbec9e57ad165f3528c3d863afefdc87e1d28a055 (diff)
[Debugger.Win32] Fixed the build
Diffstat (limited to 'extras')
-rw-r--r--extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs b/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs
index b4852b0c7d..808028c0d7 100644
--- a/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs
+++ b/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs
@@ -286,7 +286,9 @@ namespace MonoDevelop.Debugger.Win32
CorValRef arr = new CorValRef (delegate {
return ctx.Session.NewArray (ctx, (CorType)GetValueType (ctx, val), 1);
});
- ArrayAdaptor realArr = new ArrayAdaptor (ctx, arr);
+ CorArrayValue array = CorObjectAdaptor.GetRealObject (ctx, arr) as CorArrayValue;
+
+ ArrayAdaptor realArr = new ArrayAdaptor (ctx, arr, array);
realArr.SetElement (new int[] { 0 }, val);
CorType at = (CorType) GetType (ctx, "System.Array");