Fix IDE0300: Use collection expression for array

This commit is contained in:
Haselnussbomber 2025-10-24 04:34:40 +02:00
parent d95d19a0d0
commit 46df1bc546
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
77 changed files with 152 additions and 156 deletions

View file

@ -63,7 +63,7 @@ public class StatusPayload : Payload
bytes.AddRange(idBytes);
// unk
bytes.AddRange(new byte[] { 0x01, 0x01, 0xFF, 0x02, 0x20, END_BYTE });
bytes.AddRange([0x01, 0x01, 0xFF, 0x02, 0x20, END_BYTE]);
return bytes.ToArray();
}