5 instantiations of ChannelClosedException
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTestUtils\Hubs.cs (2)
786channel.Writer.TryComplete(new ChannelClosedException("ChannelClosedException from channel")); 793channel.Writer.TryComplete(new ChannelClosedException(new Exception("ChannelClosedException from channel")));
System.Threading.Channels (3)
System\Threading\Channels\ChannelReader.cs (1)
85throw new ChannelClosedException();
System\Threading\Channels\ChannelUtilities.cs (2)
363inner is not null && inner != s_doneWritingSentinel ? new ChannelClosedException(inner) : 364new ChannelClosedException();
12 references to ChannelClosedException
Aspire.Dashboard.Tests (1)
ChannelExtensionsTests.cs (1)
148catch (ChannelClosedException)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\WebTransport\WebTransportSession.cs (1)
177catch (ChannelClosedException)
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
568catch (ChannelClosedException ex)
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTestUtils\Hubs.cs (1)
934catch (ChannelClosedException ex) when (ex.InnerException == null)
System.Net.Quic (2)
System\Net\Quic\QuicConnection.cs (1)
576catch (ChannelClosedException ex) when (ex.InnerException is not null)
System\Net\Quic\QuicListener.cs (1)
193catch (ChannelClosedException ex) when (ex.InnerException is not null)
System.Threading.Channels (6)
System\Threading\Channels\ChannelClosedException.cs (4)
9/// <summary>Initializes a new instance of the <see cref="ChannelClosedException"/> class.</summary> 13/// <summary>Initializes a new instance of the <see cref="ChannelClosedException"/> class.</summary> 17/// <summary>Initializes a new instance of the <see cref="ChannelClosedException"/> class.</summary> 22/// <summary>Initializes a new instance of the <see cref="ChannelClosedException"/> class.</summary>
System\Threading\Channels\ChannelClosedException.netcoreapp.cs (1)
15/// <summary>Initializes a new instance of the <see cref="ChannelClosedException"/> class with serialized data.</summary>
System\Threading\Channels\ChannelReader.cs (1)
72catch (Exception exc) when (exc is not (ChannelClosedException or OperationCanceledException))