NullableTypes/src/Types NullableInt16.cs,1.14,1.15
Status: Inactive
Brought to you by:
lukadotnet
From: Damien G. <dam...@us...> - 2005-10-17 09:49:27
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25268/src/Types Modified Files: NullableInt16.cs Log Message: Bring hashing for NullableInt16.GetHashCode in line with Int16's. Index: NullableInt16.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt16.cs,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** NullableInt16.cs 20 Feb 2004 00:42:22 -0000 1.14 --- NullableInt16.cs 17 Oct 2005 09:49:19 -0000 1.15 *************** *** 23,27 **** // other types in NullableTypes // 30-Dec-2003 Partha Upgrade Replaced hardcoded MInValue and MaxValue values with Int16.MinValue/MaxValue ! // 18-Feb-2004 Luca Bug Fix ReadXml must read nil value also with a non empty element // --- 23,28 ---- // other types in NullableTypes // 30-Dec-2003 Partha Upgrade Replaced hardcoded MInValue and MaxValue values with Int16.MinValue/MaxValue ! // 18-Feb-2004 Luca Bug Fix ReadXml must read nil value also with a non empty element ! // 11-Oct-2005 DamienG Bug Fix Make GetHashCode compliant with native Int16 type. // *************** *** 255,259 **** // if IsNull then _value will always be 0 // hash code for Null will be 0 ! return _value; } --- 256,260 ---- // if IsNull then _value will always be 0 // hash code for Null will be 0 ! return _value.GetHashCode(); } |