Add .NET Standard 2.0 target to ComputeSharp

Also switch TerraFX.Interop.Windows to shared project
このコミットが含まれているのは:
Sergio Pedri committed 2021-11-16 17:34:01 +01:00
1 親 78f68f7b8c
コミット 06ce524740
66ファイル変更
+1276 -178

検索条件に一致するファイルはありません

+3 -3
ファイルの表示
@@ -3,18 +3,18 @@
namespace System;
/// <summary>
/// A polyfill type with extensions for <see cref="nint"/> and <see cref="nuint"/>.
/// A polyfill type with extensions for <see cref="IntPtr"/> and <see cref="UIntPtr"/>.
/// </summary>
internal static class IntPtrExtensions
{
/// <inheritdoc cref="IComparable{T}.CompareTo(T?)"/>
/// <inheritdoc cref="IComparable{T}.CompareTo(T)"/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int CompareTo(this nint left, nint right)
{
return left.CompareTo(right);
}
/// <inheritdoc cref="IComparable{T}.CompareTo(T?)"/>
/// <inheritdoc cref="IComparable{T}.CompareTo(T)"/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int CompareTo(this nuint left, nuint right)
{