diff --git a/src/Generator/GeneratorKind.cs b/src/Generator/GeneratorKind.cs index e6130ebf2..171518982 100644 --- a/src/Generator/GeneratorKind.cs +++ b/src/Generator/GeneratorKind.cs @@ -10,7 +10,7 @@ namespace CppSharp.Generators /// public class GeneratorKind : IEquatable { - private static HashSet s_registeredIDSet = new(); + private static readonly HashSet s_registeredIDSet = new(); public string ID { get; }