Make AllTypes protected, force using GetTypeByName

This commit is contained in:
Sinai committed 2021-06-07 19:26:46 +10:00
1 parent 16335c1bc4
commit a72877befb
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ namespace UnityExplorer
public static Action<Type> OnTypeLoaded;
/// <summary>Key: Type.FullName</summary>
public static readonly SortedDictionary<string, Type> AllTypes = new SortedDictionary<string, Type>(StringComparer.OrdinalIgnoreCase);
protected static readonly SortedDictionary<string, Type> AllTypes = new SortedDictionary<string, Type>(StringComparer.OrdinalIgnoreCase);
public static readonly List<string> AllNamespaces = new List<string>();
private static readonly HashSet<string> uniqueNamespaces = new HashSet<string>();