mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed method selection when we have append args
This commit is contained in:
parent
9d1b85cceb
commit
39b7309dd5
7 changed files with 19 additions and 9 deletions
|
@ -102,7 +102,7 @@ namespace System
|
|||
[AllowAppend]
|
||||
public this(String str, int offset)
|
||||
{
|
||||
Debug.Assert(offset <= str.Length);
|
||||
Debug.Assert((uint)offset <= (uint)str.Length);
|
||||
let count = str.mLength - offset;
|
||||
int bufferSize = (count == 0) ? 0 : (count - 1) & ~(sizeof(char8*) - 1);
|
||||
#unwarn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue