Skip to content

Commit bbbf94b

Browse files
committed
Made public the finding of enabled type maps by strings.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent 73b011e commit bbbf94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Types/TypeMapDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public bool FindTypeMap(Type type, out TypeMap typeMap)
110110
public bool FindTypeMap(Declaration declaration, out TypeMap typeMap) =>
111111
FindTypeMap(new TagType(declaration), out typeMap);
112112

113-
private bool FindTypeMap(string name, out TypeMap typeMap) =>
113+
public bool FindTypeMap(string name, out TypeMap typeMap) =>
114114
TypeMaps.TryGetValue(name, out typeMap) && typeMap.IsEnabled;
115115

116116
private Dictionary<Type, TypeMap> typeMaps = new Dictionary<Type, TypeMap>();

0 commit comments

Comments
 (0)