This commit is contained in:
mlemanczyk committed 2023-10-21 18:15:58 +02:00
1 parent 12476d7a00
commit fd38907eaa
4 files changed
+19 -3

No files matched your search

@@ -1,8 +1,12 @@
using System.Numerics;
// Ignore Spelling: zzz
using System.Numerics;
namespace Recyclable.Collections
{
#pragma warning disable IDE1006 // This intentional so that it shows at the end of IntelliSense list
public static class zzzRecyclableListCompatibilityListFind
#pragma warning restore IDE1006 // Naming Styles
{
public static bool Exists<T>(this RecyclableList<T> list, Predicate<T> match)
{
@@ -1,6 +1,10 @@
namespace Recyclable.Collections
// Ignore Spelling: zzz
namespace Recyclable.Collections
{
#pragma warning disable IDE1006 // This intentional so that it shows at the end of IntelliSense list
public static class zzzRecyclableListCompatibilityListIndexOf
#pragma warning restore IDE1006 // Naming Styles
{
public static int IndexOf<T>(this RecyclableList<T> list, T item, int index) => list._count != 0
? Array.IndexOf(list._memoryBlock, item, index, list._count - index)
@@ -1,10 +1,14 @@
// Ignore Spelling: zzz
using System.Collections;
using System.Numerics;
using System.Runtime.CompilerServices;
namespace Recyclable.Collections
{
#pragma warning disable IDE1006 // This intentional so that it shows at the end of IntelliSense list
public static class zzzRecyclableListCompatibilityListInsertRange
#pragma warning restore IDE1006 // Naming Styles
{
private static void InsertRangeEnumerated<T>(this RecyclableList<T> list, int index, IEnumerable<T> items, int growByCount)
{
@@ -1,11 +1,15 @@
using System.Collections.ObjectModel;
// Ignore Spelling: zzz
using System.Collections.ObjectModel;
using System.Numerics;
using Recyclable.Collections.Pools;
namespace Recyclable.Collections
{
#pragma warning disable IDE1006 // This intentional so that it shows at the end of IntelliSense list
public static class zzzRecyclableListCompatibilityList
#pragma warning restore IDE1006 // Naming Styles
{
public static ReadOnlyCollection<T> AsReadOnly<T>(this RecyclableList<T> list) => new(list);