47 references to AggregateException
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
194return ValueTask.FromException(new AggregateException(releaseException, scopeException));
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (2)
775_applicationException = new AggregateException(_applicationException, ex).Flatten(); 779_applicationException = new AggregateException(_applicationException, ex);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.cs (2)
1456_applicationException = new AggregateException(_applicationException, ex).Flatten(); 1460_applicationException = new AggregateException(_applicationException, ex);
Microsoft.Build (1)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
259ErrorUtilities.ThrowInternalError("Cannot acquire required number of nodes.", new AggregateException(exceptions.ToArray()));
Microsoft.Build.Engine.UnitTests (6)
BackEnd\EventSourceSink_Tests.cs (6)
194throw new AggregateException(exceptionArray); 205AggregateException ae1 = new AggregateException(exceptionArray1); 208throw new AggregateException(exceptionArray2); 229throw new AggregateException(exceptionArray); 240AggregateException ae1 = new AggregateException(exceptionArray1); 243throw new AggregateException(exceptionArray2);
Microsoft.Build.UnitTests.Shared (1)
DummyMappedDrive.cs (1)
68e = e == null ? exc : new AggregateException(e, exc);
Microsoft.Build.Utilities.UnitTests (1)
TaskLoggingHelper_Tests.cs (1)
297AggregateException aggregateException = new AggregateException(
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
218e = new AggregateException(e, innerException);
Microsoft.DotNet.NuGetRepack.Tasks (1)
src\NuGetVersionUpdater.cs (1)
394throw new AggregateException(exceptions.ToArray());
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
656throw 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)
605throw new AggregateException(statusException, ex);
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)
1026new AggregateException(_keepAlivePingState.Exception, exc));
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
1853return new AggregateException(canceledException); 1917edi = ExceptionDispatchInfo.Capture(new AggregateException(exception, postException));
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskExceptionHolder.cs (1)
274return new AggregateException(combinedExceptions);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ChainedRateLimiter.cs (1)
166throw new AggregateException(exceptions);