Author: martin
Date: 2006-04-17 18:49:31 -0400 (Mon, 17 Apr 2006)
New Revision: 59551

Modified:
   trunk/debugger/ChangeLog
   trunk/debugger/classes/AddressDomain.cs
Log:
2006-04-18  Martin Baulig  <[EMAIL PROTECTED]>

        * classes/AddressDomain.cs
        (AddressDomain): Make the .ctor internal.



Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog    2006-04-17 22:43:12 UTC (rev 59550)
+++ trunk/debugger/ChangeLog    2006-04-17 22:49:31 UTC (rev 59551)
@@ -1,5 +1,10 @@
 2006-04-18  Martin Baulig  <[EMAIL PROTECTED]>
 
+       * classes/AddressDomain.cs
+       (AddressDomain): Make the .ctor internal.
+
+2006-04-18  Martin Baulig  <[EMAIL PROTECTED]>
+
        * interfaces/ITargetMemoryAccess.cs
        (ITargetMemoryReader): Removed this interface; `TargetReader' is
        the only class implementing it.

Modified: trunk/debugger/classes/AddressDomain.cs
===================================================================
--- trunk/debugger/classes/AddressDomain.cs     2006-04-17 22:43:12 UTC (rev 
59550)
+++ trunk/debugger/classes/AddressDomain.cs     2006-04-17 22:49:31 UTC (rev 
59551)
@@ -2,8 +2,6 @@
 
 namespace Mono.Debugger
 {
-       public delegate void AddressDomainInvalidHandler (AddressDomain domain);
-
        // <summary>
        //   This is the "domain" of a TargetAddress - you cannot compare 
addresses from
        //   different domains.  See TargetAddress.cs for details.
@@ -41,7 +39,7 @@
                // <summary>
                //   `name' is just used in the error messages.
                // </summary>
-               public AddressDomain (string name)
+               internal AddressDomain (string name)
                {
                        this.id = ++next_id;
                        this.is_valid = true;
@@ -66,8 +64,6 @@
                        get { return is_valid; }
                }
 
-               public event AddressDomainInvalidHandler InvalidEvent;
-
                public override string ToString ()
                {
                        return String.Format ("AddressDomain ({0}:{1})", ID, 
Name);
@@ -88,13 +84,7 @@
                private void Dispose (bool disposing)
                {
                        if (!this.disposed) {
-                               if (disposing) {
-                                       if (InvalidEvent != null)
-                                               InvalidEvent (this);
-
-                                       is_valid = false;
-                               }
-
+                               this.is_valid = false;
                                this.disposed = true;
                        }
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to