Tiny cleanup
This commit is contained in:
1 parent
f500f846ac
commit
8067bfb542
1 file changed
-8
@@ -161,14 +161,6 @@ namespace Recyclable.Collections
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//public static void AddRange<T>(this RecyclableList<T> destination, IEnumerable<T> source)
|
|
||||||
//{
|
|
||||||
// foreach (var item in source)
|
|
||||||
// {
|
|
||||||
// destination.Add(item);
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static long LimitTo(this long value, int limit)
|
public static long LimitTo(this long value, int limit)
|
||||||
=> (value <= limit) ? value : limit;
|
=> (value <= limit) ? value : limit;
|
||||||
|
|||||||
Reference in new issue
Block a user