typo: AssetUtility -> AssertUtility

main
walon 2025-08-29 21:55:24 +08:00
parent 59b1166ff3
commit 5557b27724
3 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ namespace Obfuz.Emit
_initializeArray = mod.Import(typeof(System.Runtime.CompilerServices.RuntimeHelpers).GetMethod("InitializeArray", new[] { typeof(Array), typeof(RuntimeFieldHandle) }));
Assert.IsNotNull(_initializeArray);
_verifySecretKey = mod.Import(typeof(AssetUtility).GetMethod("VerifySecretKey", new[] { typeof(int), typeof(int) }));
_verifySecretKey = mod.Import(typeof(AssertUtility).GetMethod("VerifySecretKey", new[] { typeof(int), typeof(int) }));
Assert.IsNotNull(_verifySecretKey, "VerifySecretKey not found");
_obfuscationTypeMapperRegisterType = mod.Import(typeof(ObfuscationTypeMapper).GetMethod("RegisterType", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static, null, new[] { typeof(string) }, null));

View File

@ -2,7 +2,7 @@
namespace Obfuz
{
public static class AssetUtility
public static class AssertUtility
{
public static void VerifySecretKey(int expectedValue, int actualValue)
{