iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

HashCodeProvider.GetIdentityHashCode Method 

Supplies a hash code for an object.

[Visual Basic]
Public Shared Function GetIdentityHashCode( _
   ByVal Object As Object _
) As Integer
[C#]
public static int GetIdentityHashCode(
   Object obj
);

Parameters

obj
The object.

Return Value

A hash code

Remarks

Buggy in .NET V1.0 .NET Fx v1.1 Update: As of v1.1 of the framework, there is a method System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode(object) that does this as well. I will not use to Keep compatiblity with .NET V1.0

See Also

HashCodeProvider Class | IBatisNet.Common.Utilities Namespace