static AddressHelper() { mutualObject = new object(); reinterpreter = new ObjectReinterpreter { AsObject = new ObjectWrapper() }; }
public PointerToObject(IntPtr pointer) { or = new ObjectReinterpreter(); or.AsObject = new ObjectWrapper(); or.AsIntPtr.Value = pointer; }
static AddressHelper() { AddressHelper.mutualObject = new object(); AddressHelper.reinterpreter = new ObjectReinterpreter(); AddressHelper.reinterpreter.AsObject = new ObjectWrapper(); }
static Helper() { Helper.mutualObject = new object(); Helper.reinterpreter = new ObjectReinterpreter(); Helper.reinterpreter.AsObject = new ObjectWrapper(); }