System::Runtime::CompilerServices::RuntimeHelpers Class Reference

Helper class to get some object information in runtime. More...

Static Public Member Functions

template<typename T >
static int GetHashCode (SmartPtr< T > const &obj)
 

Detailed Description

Helper class to get some object information in runtime.

Member Function Documentation

◆ GetHashCode()

template<typename T >
static int System::Runtime::CompilerServices::RuntimeHelpers::GetHashCode ( SmartPtr< T > const &  obj)
inlinestatic

Gets hash code on arbitrary type. Calls Object::GetHashCode() to do so.

Template Parameters
TType to get hash code for.
Parameters
objObject to get information from.
Returns
Hash code value as calcualted by target implementation.