hook .NET methods Property error
Closed this issue · 0 comments
besoeso commented
Hi, While i doing any test with .NET got a "Error type: System.ArgumentNullException"
The test case is the follow:
public class TestClass
{
public String Name;
public Object Value
{
get
{
return "the value";
}
set
{
Name=value;
}
}
}
ClassDetours
{
public String Name_detour;
public Object Value_detour
{
get
{
return "answer_detour";
}
set
{
Name_detour=value;
}
}
}
}
o = cHook.Hook(typeof(TestClass), "Value", new Type[] {} ,
typeof(ClassDetours), "Value_detour",new Type[] {});
Regards.