Merge pull request #2059 from ermshiperete/Xamarin-33968
[mono.git] / mcs / class / System.Web / System.Web.UI / IDReferencePropertyAttribute.cs
index b8687c372d5618a449c8e1701fd53008cf2327b0..bfc7a33c4d250856e7303277c0ac2bd9dc69b7dc 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //      Sanjay Gupta (gsanjay@novell.com)
 //
-// (C) 2004 Novell, Inc (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc (http://www.novell.com)
 //
 //
 // Permission is hereby granted, free of charge, to any person obtaining
@@ -27,8 +27,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-
-#if NET_2_0
 using System;
 
 namespace System.Web.UI
@@ -49,7 +47,7 @@ namespace System.Web.UI
                public override bool Equals (object obj)
                {
                        if (obj != null && obj is IDReferencePropertyAttribute) 
-                               return (this.controlType == ((IDReferencePropertyAttribute) obj).controlType);                                                  
+                               return (this.controlType == ((IDReferencePropertyAttribute) obj).controlType);
                        return false;
                }
                
@@ -63,5 +61,4 @@ namespace System.Web.UI
                }
        }
 }
-#endif