public virtual void Dispose() { // Restore the memory protection MemoryCore.ChangeProtection(_memorySharp.Handle, BaseAddress, Size, OldProtection); // Avoid the finalizer GC.SuppressFinalize(this); }