Class FastEquality
Syntax
public static class FastEquality
Methods
Declaration
public static void AddExtraAOTTypes(Type type, HashSet<string> output)
Parameters
Equals(Void*, Void*, FastEquality.TypeInfo)
Declaration
public static bool Equals(void *lhsPtr, void *rhsPtr, FastEquality.TypeInfo typeInfo)
Parameters
Returns
Equals<T>(T, T, FastEquality.TypeInfo)
Declaration
public static bool Equals<T>(T lhs, T rhs, FastEquality.TypeInfo typeInfo)
where T : struct
Parameters
Returns
Type Parameters
Equals<T>(ref T, ref T, FastEquality.TypeInfo)
Declaration
public static bool Equals<T>(ref T lhs, ref T rhs, FastEquality.TypeInfo typeInfo)
where T : struct
Parameters
Returns
Type Parameters
GetHashCode(Void*, FastEquality.TypeInfo)
Declaration
public static int GetHashCode(void *dataPtr, FastEquality.TypeInfo typeInfo)
Parameters
Returns
GetHashCode<T>(T, FastEquality.TypeInfo)
Declaration
public static int GetHashCode<T>(T lhs, FastEquality.TypeInfo typeInfo)
where T : struct
Parameters
Returns
Type Parameters
GetHashCode<T>(ref T, FastEquality.TypeInfo)
Declaration
public static int GetHashCode<T>(ref T lhs, FastEquality.TypeInfo typeInfo)
where T : struct
Parameters
Returns
Type Parameters
ManagedEquals(Object, Object, FastEquality.TypeInfo)
Declaration
public static bool ManagedEquals(object lhs, object rhs, FastEquality.TypeInfo typeInfo)
Parameters
Returns
ManagedGetHashCode(Object, FastEquality.TypeInfo)
Declaration
public static int ManagedGetHashCode(object lhs, FastEquality.TypeInfo typeInfo)
Parameters
Returns