Merge pull request #2034 from alexrp/ctx-cleanup
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls.WebParts / ConnectionPoint.cs
index 73204e805efe8b9aca1870cb3e5c5414b7d75ff6..7529fae22e48b5add5dbe65bac841efd2490492f 100644 (file)
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
 using System.Web;
 using System.Reflection;
 
 namespace System.Web.UI.WebControls.WebParts {
         public abstract class ConnectionPoint 
        {
-               private bool allowMultiConn;
-               private string name = string.Empty;
-               private string id = "default";
-               private Type interfaceType;
-               private Type controlType;
-               private MethodInfo callBackMethod;
+               bool allowMultiConn;
+               string name = string.Empty;
+               string id = "default";
+               Type interfaceType;
+               Type controlType;
+               MethodInfo callBackMethod;
                
                public const string DefaultID = "default";
 
@@ -57,7 +56,7 @@ namespace System.Web.UI.WebControls.WebParts {
                        get{ return callBackMethod;  }
                }
                
-               [MonoTODO]
+               [MonoTODO ("Not implemented")]
                public virtual bool GetEnabled (Control control)
                {
                        throw new NotImplementedException ();
@@ -84,4 +83,3 @@ namespace System.Web.UI.WebControls.WebParts {
                }       
         }
 }
-#endif