992 {
993 try
994 {
995 byte* ptr2 = (byte*)(void*)ptr + ofs;
996 if (((int)ptr2 & 7) == 0)
997 {
998 return *(long*)ptr2;
999 }
1000 return Unsafe.ReadUnaligned<
long>(ptr2);
1001 }
1002 catch (NullReferenceException)
1003 {
1004 throw new AccessViolationException();
1005 }
1006 }