From 866d4f7932fe0078cdb2a42cfacd262b50d1c07d Mon Sep 17 00:00:00 2001 From: Deadlocklogic Date: Sat, 11 Nov 2023 16:49:53 +0200 Subject: [PATCH] Minor fix: add readonly --- src/Generator/GeneratorKind.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }