You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Review the IL generated for the conversions in NativeIntegerTests.Conversions():
The conversions to/from void* use System.[U]IntPtr.op_Explicit(void*) rather than conv.i or conv.u.
The unchecked and checked conversions of long and ulong differ (for instance, converting nint to ulong uses conv.i8 when unchecked but conv.ovf.u8 when checked).
The text was updated successfully, but these errors were encountered:
Review the IL generated for the conversions in
NativeIntegerTests.Conversions()
:void*
useSystem.[U]IntPtr.op_Explicit(void*)
rather thanconv.i
orconv.u
.long
andulong
differ (for instance, convertingnint
toulong
usesconv.i8
when unchecked butconv.ovf.u8
when checked).The text was updated successfully, but these errors were encountered: