X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FIDReferencePropertyAttribute.cs;h=bfc7a33c4d250856e7303277c0ac2bd9dc69b7dc;hb=e9767791179ef1ab75d97afd8f2ffc0a8db793d2;hp=b8687c372d5618a449c8e1701fd53008cf2327b0;hpb=669beaed8380fa592533c8755f72593b4422d01d;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/IDReferencePropertyAttribute.cs b/mcs/class/System.Web/System.Web.UI/IDReferencePropertyAttribute.cs index b8687c372d5..bfc7a33c4d2 100644 --- a/mcs/class/System.Web/System.Web.UI/IDReferencePropertyAttribute.cs +++ b/mcs/class/System.Web/System.Web.UI/IDReferencePropertyAttribute.cs @@ -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