mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Renamed Add(Span<T>) to AddRange(Span<T>)
This commit is contained in:
parent
01201c3acb
commit
50cff34fc6
2 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ namespace System.Collections
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adds an item to the back of the list.
|
/// Adds an item to the back of the list.
|
||||||
public void Add(Span<T> addSpan)
|
public void AddRange(Span<T> addSpan)
|
||||||
{
|
{
|
||||||
if (mSize + addSpan.Length > AllocSize)
|
if (mSize + addSpan.Length > AllocSize)
|
||||||
{
|
{
|
||||||
|
|
|
@ -340,7 +340,7 @@ namespace System
|
||||||
if (regType == Windows.REG_BINARY)
|
if (regType == Windows.REG_BINARY)
|
||||||
{
|
{
|
||||||
gotData = true;
|
gotData = true;
|
||||||
outData.Add(regData);
|
outData.AddRange(regData);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!gotData)
|
if (!gotData)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue