public ToggleRef (IntPtr handle, object reference) { this.handle = handle; this.reference = reference; gch = GCHandle.Alloc (this); }