void before_each() { _subject = new SubjectToHook(); }
void before_each() { _subject = new SubjectToHook(); _notToBeGCed = Hook; _hook = CreateHook(new InProcessMemory(), _subject.ManagedPointer, Marshal.GetFunctionPointerForDelegate(_notToBeGCed)); }