4 writes to _disposed
Aspire.Hosting.Native.Server (4)
Rpc\NativeRpcListener.cs (4)
137
catch (Exception exception) when (Volatile.Read(ref
_disposed
) != 0 && exception is ObjectDisposedException or SocketException or IOException)
171
ObjectDisposedException.ThrowIf(Volatile.Read(ref
_disposed
) != 0, this);
177
ObjectDisposedException.ThrowIf(Volatile.Read(ref
_disposed
) != 0, this);
215
if (Interlocked.Exchange(ref
_disposed
, 1) != 0)