resolve conflict

This commit is contained in:
Mikhail 2024-01-08 13:46:32 +08:00
parent 0958a55495
commit bf9809f3e6

View File

@ -170,19 +170,6 @@ namespace DCFApixels.DragonECS
} }
} }
public void CopyTo(T[] array)
{
if (_length > array.Length)
{
throw new ArgumentOutOfRangeException();
}
for (int i = 0; i < _length; i++)
{
array[i] = _array[i];
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public ReadOnlySpan<T> Slice(int start) public ReadOnlySpan<T> Slice(int start)
{ {