2 writes to _instance
System.IO.Pipes (2)
System\IO\Pipes\NamedPipeServerStream.Unix.cs (2)
43
_instance
= SharedServer.Get(
138
Interlocked.Exchange(ref
_instance
, null)?.Dispose(disposing); // interlocked to avoid shared state problems from erroneous double/concurrent disposes
6 references to _instance
System.IO.Pipes (6)
System\IO\Pipes\NamedPipeServerStream.Unix.cs (6)
64
Socket accepted =
_instance
!.ListeningSocket.AcceptAsync().GetAwaiter().GetResult();
86
acceptedSocket = await
_instance
!.ListeningSocket.AcceptAsync(linkedTokenSource.Token).ConfigureAwait(false);
114
throw CreateExceptionForLastError(
_instance
?.PipeName);
173
throw CreateExceptionForLastError(
_instance
?.PipeName);
215
throw CreateExceptionForLastError(
_instance
?.PipeName);
221
throw CreateExceptionForLastError(
_instance
?.PipeName);