39 references to Flatten
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (1)
136ReadOnlyCollection<Exception> innerExceptions = aggregateException.Flatten().InnerExceptions;
Microsoft.AspNetCore.Components.Authorization.Tests (2)
src\Components\Shared\test\AutoRenderComponent.cs (1)
33var exception = t.Exception.Flatten().InnerException;
src\Components\Shared\test\TestRenderer.cs (1)
85var exception = task.Exception.Flatten().InnerException;
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
ImportMapTest.cs (1)
318var exception = task.Exception.Flatten().InnerException;
src\Components\Shared\test\AutoRenderComponent.cs (1)
33var exception = t.Exception.Flatten().InnerException;
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\AutoRenderComponent.cs (1)
33var exception = t.Exception.Flatten().InnerException;
src\Components\Shared\test\TestRenderer.cs (1)
85var exception = task.Exception.Flatten().InnerException;
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteRenderer.cs (1)
119foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.AspNetCore.Components.Tests (3)
RendererTest.cs (1)
5211var exception = t.Exception.Flatten().InnerException;
src\Components\Shared\test\AutoRenderComponent.cs (1)
33var exception = t.Exception.Flatten().InnerException;
src\Components\Shared\test\TestRenderer.cs (1)
85var exception = task.Exception.Flatten().InnerException;
Microsoft.AspNetCore.Components.Web.Tests (2)
src\Components\Shared\test\AutoRenderComponent.cs (1)
33var exception = t.Exception.Flatten().InnerException;
src\Components\Shared\test\TestRenderer.cs (1)
85var exception = task.Exception.Flatten().InnerException;
Microsoft.AspNetCore.Components.WebAssembly (1)
Rendering\WebAssemblyRenderer.cs (1)
176foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
76foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.AspNetCore.Hosting (1)
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
76foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.cs (1)
775_applicationException = new AggregateException(_applicationException, ex).Flatten();
src\Shared\StackTrace\ExceptionDetails\ExceptionDetailsProvider.cs (1)
76foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
1456_applicationException = new AggregateException(_applicationException, ex).Flatten();
Microsoft.Build (4)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
315return e.Flatten().InnerExceptions.All(ex => ex is TaskCanceledException || ex is OperationCanceledException);
FileMatcher.cs (2)
2584if (ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException)) 2617return ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException);
TaskLoggingHelper.cs (1)
936foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.Build.Tasks.Core (2)
FileMatcher.cs (2)
2584if (ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException)) 2617return ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException);
Microsoft.Build.Utilities.Core (3)
FileMatcher.cs (2)
2584if (ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException)) 2617return ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException);
TaskLoggingHelper.cs (1)
936foreach (Exception innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.CodeAnalysis (1)
src\Compilers\Core\AnalyzerDriver\AnalyzerExceptionDescriptionBuilder.cs (1)
22var flattened = aggregateException.Flatten();
Microsoft.CodeAnalysis.Features (3)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (1)
129ae = ae.Flatten();
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingIncrementalAnalyzerProcessor.cs (1)
235var flattened = aggregate.Flatten();
src\Compilers\Core\AnalyzerDriver\AnalyzerExceptionDescriptionBuilder.cs (1)
22var flattened = aggregateException.Flatten();
Microsoft.CodeAnalysis.LanguageServer (1)
Logging\RoslynLogger.cs (1)
70foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (1)
122foreach (var innerException in aggregateException.Flatten().InnerExceptions)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
UtilityTest\AsyncLazyTests.cs (1)
218var operationCancelledException = (OperationCanceledException)ex.Flatten().InnerException!;
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
564foreach (var ex in ae.Flatten().InnerExceptions) 672foreach (var ex in lastAggregateException.Flatten().InnerExceptions)
Microsoft.VisualStudio.LanguageServices (1)
Watson\FaultReporter.cs (1)
122foreach (var innerException in aggregateException.Flatten().InnerExceptions)
System.Linq.Parallel (1)
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (1)
110AggregateException flattenedAE = ae.Flatten();