X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI.WebControls.WebParts%2FPersonalizableAttribute.cs;h=eeb69120205e5e69c80fd0877de66cabca26d2ae;hb=018e826d47309aeb3cf2e9883c034ddd86da2a16;hp=ccce0bc0ace040b9bea38474e770e7b588ae4824;hpb=a097b5471761180c4aae2dab224ed9caeeae3e86;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/PersonalizableAttribute.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/PersonalizableAttribute.cs index ccce0bc0ace..eeb69120205 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/PersonalizableAttribute.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/PersonalizableAttribute.cs @@ -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