2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.UI / FilterableAttribute.cs
index 511ff4622b33f3ced999ecfed06b19902c568655..61834b75c327183972ab08212c8a3404dbccc6ca 100644 (file)
@@ -33,10 +33,9 @@ using System.ComponentModel;
 
 namespace System.Web.UI {
        [AttributeUsage (AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
-       public sealed class FilterableAttribute : Attribute, IDisposable 
+       public sealed class FilterableAttribute : Attribute
        {
                private bool filterable;
-               private bool dispose;
 
                public FilterableAttribute (bool filterable) 
                {
@@ -53,20 +52,6 @@ namespace System.Web.UI {
                        get { return filterable; } 
                }
 
-               public void Dispose ()
-               {
-                       Dispose (true);
-                       GC.SuppressFinalize (this);
-               }
-               
-               private void Dispose (bool disposing)
-               {
-                       if (!this.dispose) {
-                               //Do nothing
-                               this.dispose = true;
-                       }
-               }
-
                public override bool Equals (object obj)
                {
                        if (obj != null && obj is FilterableAttribute) {