Table of Contents

Method GetHashCode

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

GetHashCode(WeakReference)

When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.
public override int GetHashCode(WeakReference obj)

Parameters

obj WeakReference
The object for which to get a hash code.

Returns

int
A hash code for the specified object.

Exceptions

ArgumentNullException
The type of obj is a reference type and obj is null.