[Mono.Debugger.Soft] Re-added Dispose() method on VirtualMachine for API compat.
authorJeffrey Stedfast <jeff@xamarin.com>
Mon, 7 May 2012 18:57:18 +0000 (14:57 -0400)
committerJeffrey Stedfast <jeff@xamarin.com>
Mon, 7 May 2012 18:57:18 +0000 (14:57 -0400)
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs

index c1693e683f3d203cfe8153f92610f2843299e46d..08785618092281ad4bc6ebf03bf12d21060ee20f 100644 (file)
@@ -140,6 +140,12 @@ namespace Mono.Debugger.Soft
                        notify_vm_event (EventType.VMDisconnect, SuspendPolicy.None, 0, 0, null);
                }
 
+               [Obsolete ("This method was poorly named; use The Detach() method instead")]
+               public void Dispose ()
+               {
+                       Detach ();
+               }
+
                public void ForceDisconnect ()
                {
                        conn.ForceDisconnect ();