1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 08:58:00 +02:00

Renamed Add(Span<T>) to AddRange(Span<T>)

This commit is contained in:
Brian Fiete 2020-07-19 05:46:08 -07:00
parent 01201c3acb
commit 50cff34fc6
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{ {

View file

@ -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)