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