Switch to EquatableArray<T> in ComputeSharp.D2D1 models

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-20 03:24:31 +02:00
1 親 23e5300dee
コミット 4def9f65a9
14ファイル変更
+29 -472

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

+9
ファイルの表示
@@ -70,6 +70,15 @@ internal readonly struct EquatableArray<T> : IEquatable<EquatableArray<T>>, IEnu
get => AsImmutableArray().IsEmpty;
}
/// <summary>
/// Gets a value indicating whether the current array is default or empty.
/// </summary>
public bool IsDefaultOrEmpty
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get => AsImmutableArray().IsDefaultOrEmpty;
}
/// <summary>
/// Gets the length of the current array.
/// </summary>