2 writes to _instance
System.IO.Pipes (2)
System\IO\Pipes\NamedPipeServerStream.Unix.cs (2)
43_instance = SharedServer.Get( 138Interlocked.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)
64Socket accepted = _instance!.ListeningSocket.AcceptAsync().GetAwaiter().GetResult(); 86acceptedSocket = await _instance!.ListeningSocket.AcceptAsync(linkedTokenSource.Token).ConfigureAwait(false); 114throw CreateExceptionForLastError(_instance?.PipeName); 173throw CreateExceptionForLastError(_instance?.PipeName); 215throw CreateExceptionForLastError(_instance?.PipeName); 221throw CreateExceptionForLastError(_instance?.PipeName);