diff --git a/TruckLib.Core/Token.cs b/TruckLib.Core/Token.cs index 6c45645..2107ae6 100644 --- a/TruckLib.Core/Token.cs +++ b/TruckLib.Core/Token.cs @@ -17,11 +17,11 @@ public struct Token : IBinarySerializable /// The character set of this type. /// public static readonly char[] CharacterSet = - { + [ '\0', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '_' - }; + ]; private static readonly int CharsetLength = CharacterSet.Length; // =38