System\IO\Pipes\Pipe.cs (13)
606if (!UnsafeNativeMethods.ConnectNamedPipe(InternalHandle, UnsafeNativeMethods.NULL)) {
658asyncResult._handle = InternalHandle;
676if (!UnsafeNativeMethods.ConnectNamedPipe(InternalHandle, intOverlapped)) {
681cancellationHelper.AllowCancellation(InternalHandle, intOverlapped);
705cancellationHelper.AllowCancellation(InternalHandle, intOverlapped);
781if (!UnsafeNativeMethods.DisconnectNamedPipe(InternalHandle)) {
796ExecuteHelper execHelper = new ExecuteHelper(impersonationWorker, InternalHandle);
871if (!UnsafeNativeMethods.GetNamedPipeHandleState(InternalHandle, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL,
934if (InternalHandle == null) {
941if (InternalHandle.IsClosed) {
961if (InternalHandle == null) {
968if (InternalHandle.IsClosed) {
1377if (!UnsafeNativeMethods.GetNamedPipeHandleState(InternalHandle, UnsafeNativeMethods.NULL, out numInstances,