using System.Runtime.CompilerServices;
namespace System;
///
/// A polyfill type with extensions for and .
///
internal static class IntPtrExtensions
{
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int CompareTo(this nint left, nint right)
{
return left.CompareTo(right);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int CompareTo(this nuint left, nuint right)
{
return left.CompareTo(right);
}
}