mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-01-10 10:59:36 +08:00
Remove test assembly resolver
This commit is contained in:
parent
7eb4b1bc77
commit
d1d7572945
@ -13,19 +13,6 @@ namespace UnityExplorer
|
||||
{
|
||||
public const BF AllFlags = BF.Public | BF.Instance | BF.NonPublic | BF.Static;
|
||||
|
||||
public static void Test()
|
||||
{
|
||||
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(AssemblyResolver);
|
||||
}
|
||||
|
||||
private static Assembly AssemblyResolver(object sender, ResolveEventArgs args)
|
||||
{
|
||||
if (args.Name.StartsWith("UnityExplorer"))
|
||||
return typeof(ExplorerCore).Assembly;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static bool ValueEqual<T>(this T objA, T objB)
|
||||
{
|
||||
return (objA == null && objB == null) || (objA != null && objA.Equals(objB));
|
||||
|
Loading…
x
Reference in New Issue
Block a user