Class TypeHash
Inheritance
System.Object
TypeHash
Syntax
Methods
CalculateMemoryOrdering(Type)
Declaration
public static ulong CalculateMemoryOrdering(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.UInt64 |
|
CalculateStableTypeHash(Type)
Declaration
public static ulong CalculateStableTypeHash(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.UInt64 |
|
CombineFNV1A64(UInt64, UInt64[])
Declaration
public static ulong CombineFNV1A64(ulong hash, params ulong[] values)
Parameters
Type |
Name |
Description |
System.UInt64 |
hash |
|
System.UInt64[] |
values |
|
Returns
Type |
Description |
System.UInt64 |
|
FNV1A64(Int32)
Declaration
public static ulong FNV1A64(int val)
Parameters
Type |
Name |
Description |
System.Int32 |
val |
|
Returns
Type |
Description |
System.UInt64 |
|
FNV1A64(String)
Declaration
public static ulong FNV1A64(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
Description |
System.UInt64 |
|
HashType(Type, Int32)
Declaration
public static ulong HashType(Type type, int fieldIndex = 0)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
System.Int32 |
fieldIndex |
|
Returns
Type |
Description |
System.UInt64 |
|