1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +02:00

Made implicit tuple cast check names, fixed explicit tuple cast

This commit is contained in:
Brian Fiete 2020-01-24 10:36:22 -08:00
parent 1f77412536
commit fd64aa64d9
12 changed files with 92 additions and 87 deletions

View file

@ -2119,7 +2119,7 @@ namespace System
return false;
}
public (char32 c, int8 len) GetChar32(int idx)
public (char32 c, int8 length) GetChar32(int idx)
{
Debug.Assert((uint)idx < (uint)mLength);
char8* ptr = Ptr;
@ -2131,7 +2131,7 @@ namespace System
return UTF8.Decode(ptr + idx, mLength - idx);
}
public (char32 c, int idx, int8 len) GetChar32WithBacktrack(int idx)
public (char32 c, int idx, int8 length) GetChar32WithBacktrack(int idx)
{
Debug.Assert((uint)idx < (uint)mLength);
char8* ptr = Ptr;