43 references to AggregateException
Aspire.Hosting.RemoteHost.Tests (1)
CodeGenerationDiagnosticBuilderTests.cs (1)
155var exception = new AggregateException(
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
198return ValueTask.FromException(new AggregateException(releaseException, scopeException));
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (2)
828_applicationException = new AggregateException(_applicationException, ex).Flatten(); 832_applicationException = new AggregateException(_applicationException, ex);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.cs (2)
1484_applicationException = new AggregateException(_applicationException, ex).Flatten(); 1488_applicationException = new AggregateException(_applicationException, ex);
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
319new AggregateException(exceptions.ToArray()));
Microsoft.DotNet.NuGetRepack.Tasks (1)
src\NuGetVersionUpdater.cs (1)
385throw new AggregateException(exceptions.ToArray());
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
1244throw new AggregateException(allExceptionsArray);
Microsoft.Extensions.AI.Evaluation.Console.Tests (16)
ExceptionUtilitiesTests.cs (16)
41var exception = new AggregateException(new OperationCanceledException()); 49var exception = new AggregateException(new TaskCanceledException()); 58new AggregateException( 77var exception = new AggregateException(new InvalidOperationException(), new ArgumentException()); 85var exception = new AggregateException(new OperationCanceledException(), new InvalidOperationException()); 94new AggregateException( 99var exception2 = new AggregateException(new TaskCanceledException(), exception1); 107var exception1 = new AggregateException(new TaskCanceledException(), new InvalidOperationException()); 108var exception2 = new AggregateException(new TaskCanceledException(), exception1); 117var exception2 = new AggregateException(exception1); 125var exception1 = new AggregateException(new TaskCanceledException(), new OperationCanceledException()); 126var exception2 = new AggregateException(new OperationCanceledException()); 127var exception3 = new AggregateException(exception1, exception2, new TaskCanceledException()); 135var exception1 = new AggregateException(new TaskCanceledException(), new OperationCanceledException()); 136var exception2 = new AggregateException(new InvalidOperationException(), new OperationCanceledException()); 137var exception3 = new AggregateException(exception1, exception2, new TaskCanceledException());
Microsoft.ML.TensorFlow (1)
TensorflowUtils.cs (1)
610throw new AggregateException(statusException, ex);
Microsoft.NET.HostModel (1)
AppHost\HostWriter.cs (1)
192throw new AggregateException(ex, failedToDeleteEx);
NuGet.CommandLine.XPlat (1)
Commands\PushCommand.cs (1)
166throw new AggregateException(ex, new Exception(Strings.Push_Timeout_Error));
NuGet.Commands (1)
RestoreCommand\VulnerabilityInformationProvider.cs (1)
91GetVulnerabilityInfoResult result = new(knownVulnerabilities: null, exceptions: new(e));
NuGet.PackageManagement (1)
Audit\AuditChecker.cs (1)
232AggregateException aggregateException = new(exception);
System.Linq.Parallel (8)
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (2)
132throw new AggregateException(ex); 165throw new AggregateException(ex);
System\Linq\Parallel\QueryOperators\Inlined\InlinedAggregationOperator.cs (1)
78throw new AggregateException(ex);
System\Linq\Parallel\Utils\ExceptionAggregator.cs (1)
107throw new AggregateException(ex);
System\Linq\ParallelEnumerable.cs (4)
1580throw new AggregateException(e); 1714throw new AggregateException(e); 4983throw new AggregateException(ex); 5080throw new AggregateException(ex);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1034new AggregateException(_keepAlivePingState.Exception, exc));
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
2007return new AggregateException(canceledException); 2071edi = ExceptionDispatchInfo.Capture(new AggregateException(exception, postException));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExceptionHolder.cs (1)
274return new AggregateException(combinedExceptions);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ChainedRateLimiterShared.cs (1)
138throw new AggregateException(exceptions);