public ulong WriteMemory(byte[] buffer, ulong address, ulong size, ref ISnapshot aSnapshot) { //Writing memory is not compatible with reverse-debugging snapshots, so lets delete the //snapshot and recreate it afterwards aSnapshot.Destroy (); UInt64 returnValue = WriteMemory (buffer, address, size); aSnapshot = CreateSnapshot (); return returnValue; }