"static readonly" constants should be "const" instead (#5560)

* "static readonly" constants should be "const" instead

* change fields to PascalCase
This commit is contained in:
Marco Carvalho
2023-08-13 19:07:57 -03:00
committed by GitHub
parent ddefb4fff4
commit 8edfb2bc7b
6 changed files with 21 additions and 21 deletions

View File

@ -32,7 +32,7 @@ namespace ARMeilleure.Instructions
15L << 56 | 14L << 48 | 13L << 40 | 12L << 32 | 07L << 24 | 06L << 16 | 05L << 8 | 04L << 0, // S
};
public static readonly long ZeroMask = 128L << 56 | 128L << 48 | 128L << 40 | 128L << 32 | 128L << 24 | 128L << 16 | 128L << 8 | 128L << 0;
public const long ZeroMask = 128L << 56 | 128L << 48 | 128L << 40 | 128L << 32 | 128L << 24 | 128L << 16 | 128L << 8 | 128L << 0;
public static ulong X86GetGf2p8LogicalShiftLeft(int shift)
{