将ObfuscationTypeMapper::RegisterType函数由internal改为public

main
walon 2025-08-06 10:57:01 +08:00
parent b68571de7e
commit 1ec6e2f426
1 changed files with 2 additions and 2 deletions

View File

@ -9,12 +9,12 @@ namespace Obfuz
private static readonly Dictionary<Type, string> _type2OriginalFullName = new Dictionary<Type, string>();
private static readonly Dictionary<Assembly, Dictionary<string, Type>> _originalFullName2Types = new Dictionary<Assembly, Dictionary<string, Type>>();
internal static void RegisterType<T>(string originalFullName)
public static void RegisterType<T>(string originalFullName)
{
RegisterType(typeof(T), originalFullName);
}
internal static void RegisterType(Type type, string originalFullName)
public static void RegisterType(Type type, string originalFullName)
{
if (_type2OriginalFullName.ContainsKey(type))
{