protected override bool ReleaseHandle() { if (this.handle != (IntPtr)(-1)) { DiagnosticsNativeMethods.CloseHandle(this.handle); } return(true); }
protected override bool ReleaseHandle() { return(DiagnosticsNativeMethods.CloseHandle(this.handle)); }