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

Warn on deprecated brace initializer syntax

This commit is contained in:
Brian Fiete 2020-08-29 07:26:22 -07:00
parent ffee0a2aa3
commit 4369e07a55
12 changed files with 36 additions and 34 deletions

View file

@ -3,7 +3,7 @@ namespace System.Text
class UTF8
{
public static int8* sTrailingBytesForUTF8 = new int8[]*
{
(
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
@ -12,13 +12,13 @@ namespace System.Text
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5
} ~ delete _;
) ~ delete _;
public static uint32* sOffsetsFromUTF8 = new uint32[]*
{
0x00000000, 0x00003080, 0x000E2080,
(
0x00000000, 0x00003080, 0x000E2080,
0x03C82080, 0xFA082080, 0x82082080
} ~ delete _;
) ~ delete _;
public static int GetEncodedLength(char32 c)
{