Пример #1
0
 public static unsafe bool Equals <T>(void *a, void *b) where T : struct =>
 Equals(a, b, ObjectUtil.SizeOf <T>());
Пример #2
0
 public static unsafe int CreateHashCodeRaw <T>(void *item) where T : struct =>
 CreateHashCodeRaw(item, ObjectUtil.SizeOf <T>());
Пример #3
0
 public static int SizeOf <T>(this T obj) where T : struct =>
 ObjectUtil.SizeOf <T>();