void before_each()
 {
     _subject = new SubjectToHook();
 }
Ejemplo n.º 2
0
 void before_each()
 {
     _subject = new SubjectToHook();
     _notToBeGCed = Hook;
     _hook = CreateHook(new InProcessMemory(), _subject.ManagedPointer, Marshal.GetFunctionPointerForDelegate(_notToBeGCed));
 }
 void before_each()
 {
     _subject = new SubjectToHook();
 }
Ejemplo n.º 4
0
 void before_each()
 {
     _subject     = new SubjectToHook();
     _notToBeGCed = Hook;
     _hook        = CreateHook(new InProcessMemory(), _subject.ManagedPointer, Marshal.GetFunctionPointerForDelegate(_notToBeGCed));
 }