1 write to m_handle
System.Core (1)
System\IO\Pipes\PipeStream.cs (1)
172m_handle = handle;
38 references to m_handle
System.Core (38)
System\IO\Pipes\PipeStream.cs (38)
204Debug.Assert(m_handle != null, "_handle is null"); 205Debug.Assert(!m_handle.IsClosed, "_handle is closed"); 217int r = ReadFileNative(m_handle, buffer, offset, count, null, out hr); 264asyncResult._handle = m_handle; 283Debug.Assert(m_handle != null, "_handle is null"); 284Debug.Assert(!m_handle.IsClosed, "_handle is closed"); 293asyncResult._handle = m_handle; 323int r = ReadFileNative(m_handle, buffer, offset, count, intOverlapped, out hr); 447Debug.Assert(!m_handle.IsClosed, "_handle is closed"); 460int r = WriteFileNative(m_handle, buffer, offset, count, null, out hr); 500Debug.Assert(!m_handle.IsClosed, "_handle is closed"); 512asyncResult._handle = m_handle; 539int r = WriteFileNative(m_handle, buffer, offset, count, intOverlapped, out hr); 759if (!UnsafeNativeMethods.FlushFileBuffers(m_handle)) { 769if (m_handle != null && !m_handle.IsClosed) { 770m_handle.Dispose(); 811if (m_handle == null) { 818if (m_handle.IsClosed) { 841if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, out pipeFlags, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL, 870if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL, out inBufferSize, UnsafeNativeMethods.NULL)) { 897else if (!UnsafeNativeMethods.GetNamedPipeInfo(m_handle, UnsafeNativeMethods.NULL, out outBufferSize, 930if (!UnsafeNativeMethods.SetNamedPipeHandleState(m_handle, &pipeReadType, UnsafeNativeMethods.NULL, UnsafeNativeMethods.NULL)) { 966if (m_handle == null) { 969if (m_handle.IsClosed) { 973return new PipeSecurity(m_handle, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 985pipeSecurity.Persist(m_handle); 992if (m_handle == null) { 995if (m_handle.IsClosed) { 1000return m_handle; 1007return m_handle; 1069if (m_handle == null) { 1077if (m_handle.IsClosed) { 1095if (m_handle == null) { 1103if (m_handle.IsClosed) { 1120if (m_handle == null) { 1133if (m_handle.IsClosed) { 1162m_handle.SetHandleAsInvalid();