[Mono-list] Build broken in System.dll
Patrik Torstensson
totte@labs2.com
Mon, 15 Apr 2002 10:00:57 +0200
I'll fix.
:-)
> -----Original Message-----
> From: Christophe VG [mailto:mono@baselabs.org]
> Sent: den 15 april 2002 09:29
> To: Nick Drochak
> Cc: Mono-List
> Subject: Re: [Mono-list] Build broken in System.dll
>
>
> Line 120 should say : public override bool Equals (Object obj)
> ^^^^
> and public override string GetHashCode ()
> ^^^^^^ ^
>
> or in diff format :
>
> $ cvs diff -u class/System/System.Net/IPEndPoint.cs
> Index: class/System/System.Net/IPEndPoint.cs
> ===================================================================
> RCS file: /mono/mcs/class/System/System.Net/IPEndPoint.cs,v
> retrieving revision 1.4
> diff -u -r1.4 IPEndPoint.cs
> --- class/System/System.Net/IPEndPoint.cs 15 Apr 2002
> 01:03:28 -0000 1.4
> +++ class/System/System.Net/IPEndPoint.cs 15 Apr 2002
> 07:29:51 -0000
> @@ -117,7 +117,7 @@
> return(address.ToString() + ":" + port);
> }
>
> - public override string Equals (Object obj)
> + public override bool Equals (Object obj)
> {
> if (obj is System.Net.IPEndPoint) {
> return ( ((IPEndPoint)
> obj).port == port &&
> @@ -127,7 +127,7 @@
> return false;
> }
>
> - public override string GetHashcode ()
> + public override int GetHashCode ()
> {
> return address.GetHashCode () + port;
> }
>
>
> Christophe
>
> --
> Supporting the Mono project, and helping you...
>
http://mono.baselabs.org http://mono.baselabs.org/CSAM
*** ***
"First steps" building guides, CSAM the C Sharp Archived Modules
daily Mono RPMS, C# tutorial,...
_______________________________________________
Mono-list maillist - Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list