Merge pull request #1502 from madrang/SafeHandle.CloseTestDispose
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls.WebParts / PersonalizableAttribute.cs
index ccce0bc0ace040b9bea38474e770e7b588ae4824..eeb69120205e5e69c80fd0877de66cabca26d2ae 100644 (file)
@@ -27,7 +27,6 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-#if NET_2_0
 using System;
 using System.Collections;
 using System.Collections.Generic;
@@ -102,18 +101,6 @@ namespace System.Web.UI.WebControls.WebParts
                                this.scope == attr.Scope);
                }
                
-               public static bool Equals (object objA, object objB)
-               {
-                       PersonalizableAttribute attrA = objA as PersonalizableAttribute;
-                       PersonalizableAttribute attrB = objB as PersonalizableAttribute;
-
-                       if (objA == null || objB == null)
-                               return false;
-                       return (attrA.IsPersonalizable == attrB.IsPersonalizable &&
-                               attrA.IsSensitive == attrB.IsSensitive &&
-                               attrA.Scope == attrB.Scope);
-               }
-
                public override int GetHashCode ()
                {
                        return (this.isPersonalizable.GetHashCode () ^
@@ -175,4 +162,3 @@ namespace System.Web.UI.WebControls.WebParts
                }
        }
 }
-#endif