53 references to AggregateException
dotnet-svcutil-lib (2)
Shared\Options\ApplicationOptions.cs (1)
154var ex = new AggregateException(options.Errors);
Tool.cs (1)
324var ex = new AggregateException(options.Errors.Select(e => e as ToolArgumentException ?? new ToolArgumentException(e.Message, e.InnerException)));
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
IIS.Tests (1)
Utilities\TestServer.cs (1)
227throw new AggregateException(exceptions);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
154throw new AggregateException(exceptions);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
184Exception = (validationFailures.Count == 1) ? validationFailures[0] : new AggregateException(validationFailures)
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
313throw new SecurityTokenException(Resources.Exception_NoTokenValidatorFound, new AggregateException(validationFailures));
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\DefaultKeyResolver.cs (1)
133_logger.KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed(key.KeyId, nameof(IKey.CreateEncryptor), exceptions is null ? ex : new AggregateException(exceptions));
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
67error = new AggregateException(exceptions);
Microsoft.AspNetCore.Hosting (4)
GenericHost\GenericWebHostBuilder.cs (1)
162_hostingStartupErrors = new AggregateException(exceptions);
Internal\HostedServiceExecutor.cs (1)
45throw new AggregateException(exceptions);
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
67error = new AggregateException(exceptions);
WebHostBuilder.cs (1)
255hostingStartupErrors = new AggregateException(exceptions);
Microsoft.AspNetCore.RateLimiting (1)
DefaultCombinedLease.cs (1)
95throw new AggregateException(exceptions);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
67error = new AggregateException(exceptions);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
LocalhostListenOptions.cs (1)
63throw new IOException(CoreStrings.FormatAddressBindingFailed(GetDisplayName()), new AggregateException(exceptions));
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
67error = new AggregateException(exceptions);
Microsoft.Build (3)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
284throw new AggregateException(deactivateExceptions);
Graph\ParallelWorkSet.cs (2)
63throw new AggregateException(_exceptions); 157throw new AggregateException(_exceptions);
Microsoft.CodeAnalysis.Features.UnitTests (1)
FindUsages\DefinitionItemFactoryTests.cs (1)
106throw new AggregateException(failures);
Microsoft.Extensions.Options (1)
ValidateOnStart.cs (1)
49throw new AggregateException(exceptions);
Microsoft.Extensions.Options.Contextual (1)
Internal\ContextualOptionsFactory.cs (1)
122throw new AggregateException(loadExceptions);
Microsoft.ML.AutoML.Tests (1)
AutoFitTests.cs (1)
572throw new AggregateException(ignoredExceptions);
Microsoft.ML.Tokenizers.Data.Tests (2)
src\Common\tests\RetryHelper.cs (2)
54throw new AggregateException(exceptions); 102throw new AggregateException(exceptions);
Microsoft.ML.Tokenizers.Tests (2)
src\Common\tests\RetryHelper.cs (2)
54throw new AggregateException(exceptions); 102throw new AggregateException(exceptions);
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
297throw new AggregateException(errors);
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\AtomicComposition.cs (2)
179throw new InvalidOperationException(SR.InvalidOperation_RevertAndCompleteActionsMustNotThrow, new AggregateException(exceptions)); 214throw new InvalidOperationException(SR.InvalidOperation_RevertAndCompleteActionsMustNotThrow, new AggregateException(exceptions));
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MeterListener.cs (1)
240throw new AggregateException(exceptionsList);
System.IO.Pipelines (1)
System\IO\Pipelines\PipeCompletionCallbacks.cs (1)
38throw new AggregateException(exceptions);
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\UnixIPGlobalProperties.cs (1)
116throw new NetworkInformationException(SR.net_PInvokeError, new AggregateException(context._exceptions));
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (1)
839throw new AggregateException(exceptionList);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
494throw new AggregateException(exceptions);
System.Threading.RateLimiting (5)
System\Threading\RateLimiting\ChainedRateLimiter.cs (1)
204return new AggregateException(exceptions);
System\Threading\RateLimiting\CombinedRateLimitLease.cs (1)
94throw new AggregateException(exceptions);
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (3)
145throw new AggregateException(exceptions); 180throw new AggregateException(exceptions); 284throw new AggregateException(aggregateExceptions);
System.Threading.Tasks.Dataflow (1)
Blocks\BatchBlock.cs (1)
1107if (exceptions != null) throw new AggregateException(exceptions);
System.Threading.Tasks.Parallel (2)
System\Threading\Tasks\Parallel.cs (1)
326new AggregateException(exceptionQ));
System\Threading\Tasks\TaskReplicator.cs (1)
158throw new AggregateException(replicator._exceptions);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
87throw new AggregateException(list);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
87throw new AggregateException(list);
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
87throw new AggregateException(list);
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
87throw new AggregateException(list);
Templates.Tests (1)
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
87throw new AggregateException(list);