diff --git a/src/Generator/Types/TypeMapDatabase.cs b/src/Generator/Types/TypeMapDatabase.cs index aee8b6bb..904d58a9 100644 --- a/src/Generator/Types/TypeMapDatabase.cs +++ b/src/Generator/Types/TypeMapDatabase.cs @@ -35,12 +35,12 @@ namespace CppSharp.Types } } - public static Dictionary TypeMapsByKind(Dictionary> globalTypeMaps, GeneratorKind kind) + public static Dictionary TypeMapsByKind(Dictionary> typeMapsDictionary, GeneratorKind kind) { - if (!globalTypeMaps.TryGetValue(kind, out Dictionary typeMap)) + if (!typeMapsDictionary.TryGetValue(kind, out Dictionary typeMap)) { typeMap = new Dictionary(); - globalTypeMaps.Add(kind, typeMap); + typeMapsDictionary.Add(kind, typeMap); } return typeMap; }