Skip to content

Commit 8cb11ce

Browse files
committed
Make NonVisualUnicodeCharacters read-only
1 parent ab623c1 commit 8cb11ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SmartFormat/Core/Settings/ParserSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private CharSet CreateAllowlist()
214214
/// <summary>
215215
/// All 68 non-visual Unicode characters that are typically not used in selectors.
216216
/// </summary>
217-
internal static char[] NonVisualUnicodeCharacters =
217+
internal static readonly char[] NonVisualUnicodeCharacters =
218218
[
219219
// Control Characters (U+0000–U+001F, U+007F)
220220
'\u0000', // NULL – string terminator

0 commit comments

Comments
 (0)