2002-01-05 Ravi Pratap <ravi@ximian.com>
[mono.git] / mcs / class / System / System.ComponentModel / Component.cs
index 58eb4d0ac31b833bac5f41807d65676a9a877daa..37649d05e8f0ab3f5b710a24c3775e5f3ddabf33 100644 (file)
@@ -28,6 +28,7 @@ namespace System.ComponentModel {
                // </summary>
                public Component ()
                {
+                       event_handlers = null;
                }
 
                // <summary>
@@ -71,7 +72,8 @@ namespace System.ComponentModel {
                        }
                }
 
-               ~Component() \r
+               [MonoTODO]
+               ~Component()
                {
                        // FIXME: Not sure this is correct.
                        Dispose(true);
@@ -81,6 +83,7 @@ namespace System.ComponentModel {
                // <summary>
                //   Dispose resources used by this component
                // </summary>
+               [MonoTODO]
                public virtual void Dispose ()
                {
                        // FIXME: Not sure this is correct.
@@ -106,6 +109,7 @@ namespace System.ComponentModel {
                // <summary>
                //   Implements the IServiceProvider interface
                // </summary>
+               [MonoTODO]
                protected virtual object GetService (Type service)
                {
                        // FIXME: Not sure what this should do.
@@ -115,6 +119,7 @@ namespace System.ComponentModel {
                // <summary>
                //   FIXME: Figure out this one.
                // </summary>
+               [MonoTODO ("Figure this out")]
                public event EventHandler Disposed;
        }