37 references to Throw
Aspire.Hosting (2)
Publishing\ManifestPublishingContext.cs (2)
496ExceptionDispatchInfo.Throw(ex); 539ExceptionDispatchInfo.Throw(ex);
Aspire.Hosting.Tests (2)
Utils\ArgumentEvaluator.cs (1)
21ExceptionDispatchInfo.Throw(ex);
Utils\EnvironmentVariableEvaluator.cs (1)
27ExceptionDispatchInfo.Throw(ex);
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
77ExceptionDispatchInfo.Throw(ex.InnerException);
Microsoft.AspNetCore.Components (1)
Routing\Router.cs (1)
371_renderHandle.Render(builder => ExceptionDispatchInfo.Throw(e));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.cs (1)
391ExceptionDispatchInfo.Throw(_writeAbortException);
Microsoft.AspNetCore.WebSockets.Tests (1)
KestrelWebSocketHelpers.cs (1)
83ExceptionDispatchInfo.Throw(exceptionFromApp);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
77ExceptionDispatchInfo.Throw(ex.InnerException);
Microsoft.Extensions.ServiceDiscovery (1)
ServiceEndpointWatcher.cs (1)
223ExceptionDispatchInfo.Throw(error);
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\Utilities.cs (1)
163ExceptionDispatchInfo.Throw(exception.InnerException!);
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
1345ExceptionDispatchInfo.Throw(ex); // Rethrow. 1350ExceptionDispatchInfo.Throw(ex); // Rethrow.
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
447ExceptionDispatchInfo.Throw(rethrowException);
System.Net.HttpListener (3)
System\Net\Managed\HttpRequestStream.Managed.cs (1)
198ExceptionDispatchInfo.Throw(e.InnerException);
System\Net\Managed\HttpResponseStream.Managed.cs (1)
289ExceptionDispatchInfo.Throw(ex.InnerException);
System\Net\Managed\ListenerAsyncResult.Managed.cs (1)
196ExceptionDispatchInfo.Throw(_exception);
System.Net.Mail (4)
System\Net\Mail\SmtpClient.cs (4)
397ExceptionDispatchInfo.Throw(ex); 602ExceptionDispatchInfo.Throw(ex); 674ExceptionDispatchInfo.Throw(ex); 689ExceptionDispatchInfo.Throw(ex);
System.Net.Quic (3)
System\Net\Quic\QuicConnection.cs (1)
578ExceptionDispatchInfo.Throw(ex.InnerException);
System\Net\Quic\QuicListener.cs (2)
190ExceptionDispatchInfo.Throw((Exception)item); 195ExceptionDispatchInfo.Throw(ex.InnerException);
System.Net.Requests (2)
System\Net\FtpDataStream.cs (1)
297ExceptionDispatchInfo.Throw(e);
System\Net\FtpWebRequest.cs (1)
1135ExceptionDispatchInfo.Throw(_exception);
System.Net.Security (3)
System\Net\Security\NegotiateStream.cs (1)
927ExceptionDispatchInfo.Throw(exception);
System\Net\Security\SslStream.Protocol.cs (2)
1199ExceptionDispatchInfo.Throw(status.Exception); 1218ExceptionDispatchInfo.Throw(status.Exception);
System.Net.Sockets (1)
System\Net\Sockets\Socket.Tasks.cs (1)
219ExceptionDispatchInfo.Throw(lastException);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\ConnectionPool.cs (1)
345if (toe is not null) ExceptionDispatchInfo.Throw(toe);
System.Threading.Tasks.Parallel (3)
System\Threading\Tasks\Parallel.cs (3)
1096ExceptionDispatchInfo.Throw(ex); 2729ExceptionDispatchInfo.Throw(ex); 2848ExceptionDispatchInfo.Throw(reducedCancelEx ?? otherException);
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
6538ExceptionDispatchInfo.Throw(tme._exception);
System\Windows\Forms\WindowSubclassHandler.cs (1)
259ExceptionDispatchInfo.Throw(exception);
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
77ExceptionDispatchInfo.Throw(ex.InnerException);