Added missing Array.IndexOf parameter
This commit is contained in:
1 parent
cda1c2b77d
commit
d4af246a3a
1 file changed
+1
-1
@@ -372,7 +372,7 @@ namespace Recyclable.Collections
|
||||
_count = 0;
|
||||
}
|
||||
|
||||
public bool Contains(T item) => Array.IndexOf(_memoryBlock, 0, _count) >= 0;
|
||||
public bool Contains(T item) => Array.IndexOf(_memoryBlock, item, 0, _count) >= 0;
|
||||
|
||||
public void CopyTo(T[] array, int arrayIndex) => Array.Copy(_memoryBlock, 0, array, arrayIndex, _count);
|
||||
|
||||
|
||||
Reference in new issue
Block a user