[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Guid.cs,1.5,1.6
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Guid.cs,1.5,1.6 |
Date: |
Mon, 14 Apr 2003 02:19:13 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv19223/runtime/System
Modified Files:
Guid.cs
Log Message:
Adjust "Guid.GetHashCode" so that it is compatible with
other CLI implementations.
Index: Guid.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Guid.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Guid.cs 29 Nov 2002 03:05:26 -0000 1.5
--- Guid.cs 14 Apr 2003 06:19:11 -0000 1.6
***************
*** 423,431 ****
public override int GetHashCode()
{
! return (a__ ^ ((int)b__) ^ (((int)(c__)) << 16)
^
! ((int)d__) ^ (((int)e__) << 8) ^
! (((int)f__) << 16) ^
(((int)g__) << 24) ^
! ((int)h__) ^ (((int)i__) << 8) ^
! (((int)j__) << 16) ^
(((int)k__) << 24));
}
--- 423,428 ----
public override int GetHashCode()
{
! return (a__ ^ ((((int)b__) << 16) |
(int)(ushort)c__) ^
! ((((int)f__) << 24) | k__));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System Guid.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=