1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

Added append ctor taking Span<T>

This commit is contained in:
Brian Fiete 2022-08-03 08:38:39 -07:00
parent ca83467e1b
commit 2c439092c3

View file

@ -71,6 +71,12 @@ namespace System.Collections
Add(item);
}
[AllowAppend]
public this(Span<T> span) : this(span.Length)
{
AddRange(span);
}
[AllowAppend]
public this(int capacity)
{