From: Michael D. <mik...@us...> - 2004-09-10 21:53:10
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8474/src/NHibernate/Util Modified Files: IdentityMap.cs Log Message: Fixing some of the xmldoc problems. Index: IdentityMap.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Util/IdentityMap.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** IdentityMap.cs 28 Aug 2004 15:51:29 -0000 1.12 --- IdentityMap.cs 10 Sep 2004 21:23:16 -0000 1.13 *************** *** 8,12 **** /// <summary> ! /// An <c>IDictionary</c> where keys are compared by object identity, rather than <c>equals</c>. /// /// All external users of this class need to have no knowledge of the IdentityKey - it is all --- 8,12 ---- /// <summary> ! /// An <see cref="IDictionary" /> where keys are compared by object identity, rather than <c>equals</c>. /// /// All external users of this class need to have no knowledge of the IdentityKey - it is all *************** *** 14,22 **** /// </summary> /// <remarks> /// Do NOT use a System.Value type as the key for this Hashtable - only classes. See ! /// the google thread ! /// http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=bds2rm%24ruc%241%40charly.heeg.de&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3DSystem.Runtime.CompilerServices.RuntimeHelpers.GetHashCode%26sa%3DN%26tab%3Dwg /// about why using System.Value is a bad thing. ! /// <p> /// If I understand it correctly, the first call to get an object defined by a DateTime("2003-01-01") /// would box the DateTime and return the identity key for the box. If you were to get that Key and --- 14,23 ---- /// </summary> /// <remarks> + /// <para> /// Do NOT use a System.Value type as the key for this Hashtable - only classes. See ! /// the <a href="http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=bds2rm%24ruc%241%40charly.heeg.de&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3DSystem.Runtime.CompilerServices.RuntimeHelpers.GetHashCode%26sa%3DN%26tab%3Dwg">google thread</a> /// about why using System.Value is a bad thing. ! /// </para> ! /// <para> /// If I understand it correctly, the first call to get an object defined by a DateTime("2003-01-01") /// would box the DateTime and return the identity key for the box. If you were to get that Key and *************** *** 24,28 **** /// would box it again (into a different box) and it would have a different IdentityKey - so you would /// not get the same value for the same DateTime value. ! /// </p> /// </remarks> [Serializable] --- 25,29 ---- /// would box it again (into a different box) and it would have a different IdentityKey - so you would /// not get the same value for the same DateTime value. ! /// </para> /// </remarks> [Serializable] |