6 instantiations of SafePipeHandle
System.Diagnostics.Process (1)
System\Diagnostics\Process.Unix.cs (1)
849
return new AnonymousPipeClientStream(direction, new
SafePipeHandle
((IntPtr)fd, ownsHandle: true));
System.IO.Pipes (5)
System\IO\Pipes\AnonymousPipeClientStream.cs (1)
37
SafePipeHandle safePipeHandle = new
SafePipeHandle
((nint)result, true);
System\IO\Pipes\NamedPipeClientStream.Unix.cs (1)
43
clientHandle = new
SafePipeHandle
(socket);
System\IO\Pipes\NamedPipeServerStream.Unix.cs (1)
103
var serverHandle = new
SafePipeHandle
(acceptedSocket);
System\IO\Pipes\PipeStream.Unix.cs (2)
444
reader = new
SafePipeHandle
();
445
writer = new
SafePipeHandle
();
30 references to SafePipeHandle
netstandard (1)
netstandard.cs (1)
12
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.
SafePipeHandle
))]
System.Core (1)
System.Core.cs (1)
10
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.SafeHandles.
SafePipeHandle
))]
System.IO.Pipes (28)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Fcntl.Pipe.cs (2)
17
internal static partial int GetPipeSz(
SafePipeHandle
fd);
20
internal static partial int SetPipeSz(
SafePipeHandle
fd, int size);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Read.Pipe.cs (1)
22
internal static unsafe partial int Read(
SafePipeHandle
fd, byte* buffer, int count);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Stat.Pipe.cs (1)
13
internal static partial int FStat(
SafePipeHandle
fd, out FileStatus output);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.Write.Pipe.cs (1)
21
internal static unsafe partial int Write(
SafePipeHandle
fd, byte* buffer, int bufferSize);
System\IO\Pipes\AnonymousPipeClientStream.cs (3)
37
SafePipeHandle
safePipeHandle = new SafePipeHandle((nint)result, true);
47
public AnonymousPipeClientStream(PipeDirection direction,
SafePipeHandle
safePipeHandle)
63
private void Init(PipeDirection direction,
SafePipeHandle
safePipeHandle)
System\IO\Pipes\AnonymousPipeServerStream.cs (4)
13
private
SafePipeHandle
_clientHandle = null!;
33
public AnonymousPipeServerStream(PipeDirection direction,
SafePipeHandle
serverSafePipeHandle,
SafePipeHandle
clientSafePipeHandle)
93
public
SafePipeHandle
ClientSafePipeHandle
System\IO\Pipes\AnonymousPipeServerStream.Unix.cs (1)
20
SafePipeHandle
? serverHandle = null, clientHandle = null;
System\IO\Pipes\NamedPipeClientStream.cs (1)
92
public NamedPipeClientStream(PipeDirection direction, bool isAsync, bool isConnected,
SafePipeHandle
safePipeHandle)
System\IO\Pipes\NamedPipeClientStream.Unix.cs (2)
39
SafePipeHandle
? clientHandle = null;
111
private void ValidateRemotePipeUser(
SafePipeHandle
handle)
System\IO\Pipes\NamedPipeServerStream.cs (1)
133
public NamedPipeServerStream(PipeDirection direction, bool isAsync, bool isConnected,
SafePipeHandle
safePipeHandle)
System\IO\Pipes\NamedPipeServerStream.Unix.cs (1)
103
var
serverHandle = new SafePipeHandle(acceptedSocket);
System\IO\Pipes\PipeStream.cs (5)
17
private
SafePipeHandle
? _handle;
89
protected void InitializeHandle(
SafePipeHandle
? handle, bool isExposed, bool isAsync)
105
private static void DebugAssertHandleValid(
SafePipeHandle
handle)
230
public
SafePipeHandle
SafePipeHandle
248
internal
SafePipeHandle
? InternalHandle
System\IO\Pipes\PipeStream.Unix.cs (5)
232
internal void ValidateHandleIsPipe(
SafePipeHandle
safePipeHandle)
249
partial void InitializeAsyncHandle(
SafePipeHandle
handle);
441
internal static unsafe void CreateAnonymousPipe(out
SafePipeHandle
reader, out
SafePipeHandle
writer)
489
Socket s,
SafePipeHandle
_,