mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix CI build
This commit is contained in:
@@ -33,7 +33,6 @@ internal static partial class EnumerableExtension
|
|||||||
public static T? BinarySearch<T>(this List<T> list, Func<T, int> comparer)
|
public static T? BinarySearch<T>(this List<T> list, Func<T, int> comparer)
|
||||||
where T : class
|
where T : class
|
||||||
{
|
{
|
||||||
list.BinarySearch
|
|
||||||
Span<T> span = CollectionsMarshal.AsSpan(list);
|
Span<T> span = CollectionsMarshal.AsSpan(list);
|
||||||
int left = 0;
|
int left = 0;
|
||||||
int right = span.Length - 1;
|
int right = span.Length - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user