893 references to InnerException
aspire (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Nats.Tests (1)
Aspire.Hosting.Testing (1)
Client.ExpectedExceptions.IntegrationTests (1)
Crossgen2Tasks (2)
csc (2)
CSharpSyntaxGenerator (2)
Diagnostics.EFCore.FunctionalTests (4)
dotnet-openapi (2)
dotnet-svcutil.xmlserializer (5)
dotnet-svcutil-lib (44)
GetDocument.Insider (2)
HttpStress (6)
IIS.FunctionalTests (8)
IIS.LongTests (5)
IIS.NewHandler.FunctionalTests (5)
IIS.NewShim.FunctionalTests (5)
IISExpress.FunctionalTests (8)
InMemory.FunctionalTests (11)
Interop.FunctionalTests (9)
Microsoft.AspNetCore.Authentication.Test (22)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Components.Authorization.Tests (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Microsoft.AspNetCore.Components.Forms.Tests (4)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Components.Tests (10)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.Web.Tests (4)
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (2)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Microsoft.AspNetCore.Diagnostics.Tests (3)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (30)
JsonTranscodingServiceMethodProviderTests.cs (29)
170Assert.Equal("Error binding BadResponseBody on JsonTranscodingInvalidResponseBodyGreeterService to HTTP API.", ex.InnerException!.InnerException!.Message);
171Assert.Equal("Couldn't find matching field for response body 'NoMatch' on HelloReply.", ex.InnerException!.InnerException!.InnerException!.Message);
182Assert.Equal("Error binding BadResponseBody on JsonTranscodingInvalidNestedResponseBodyGreeterService to HTTP API.", ex.InnerException!.InnerException!.Message);
183Assert.Equal("The response body field 'sub.subfield' references a nested field. The response body field name must be on the top-level response message.", ex.InnerException!.InnerException!.InnerException!.Message);
194Assert.Equal("Error binding BadBody on JsonTranscodingInvalidBodyGreeterService to HTTP API.", ex.InnerException!.InnerException!.Message);
195Assert.Equal("Couldn't find matching field for body 'NoMatch' on HelloRequest.", ex.InnerException!.InnerException!.InnerException!.Message);
206Assert.Equal("Error binding BadBody on JsonTranscodingInvalidNestedBodyGreeterService to HTTP API.", ex.InnerException!.InnerException!.Message);
207Assert.Equal("The body field 'sub.subfield' references a nested field. The body field name must be on the top-level request message.", ex.InnerException!.InnerException!.InnerException!.Message);
218Assert.Equal("Error binding BadPattern on JsonTranscodingInvalidPatternGreeterService to HTTP API.", ex.InnerException!.InnerException!.Message);
219Assert.Equal("Error parsing path template 'v1/greeter/{name}'.", ex.InnerException!.InnerException!.InnerException!.Message);
220Assert.Equal("Path template must start with a '/'.", ex.InnerException!.InnerException!.InnerException!.InnerException!.Message);
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.Hosting.Tests (3)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.Http.Connections.Tests (2)
Microsoft.AspNetCore.Http.Extensions.Tests (5)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.Core (14)
Microsoft.AspNetCore.Mvc.Core.Test (10)
Microsoft.AspNetCore.Mvc.Formatters.Xml (8)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Testing (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests (2)
Microsoft.AspNetCore.Routing.Tests (12)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (8)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.TestHost (2)
Microsoft.AspNetCore.TestHost.Tests (4)
Microsoft.AspNetCore.Tests (4)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.Build (25)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (15)
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.Core (10)
Microsoft.Build.Utilities.Core (5)
Microsoft.CodeAnalysis (19)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (5)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.InteractiveHost (4)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.UnitTests (6)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.DotNet.Arcade.Sdk (2)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.RemoteExecutor (3)
Microsoft.DotNet.XUnitAssert.Tests (53)
ExceptionAssertsTests.cs (30)
35 Assert.Null(ex.InnerException);
61 Assert.Same(thrown, ex.InnerException);
79 Assert.Same(thrown, ex.InnerException);
118 Assert.Null(ex.InnerException);
144 Assert.Same(thrown, ex.InnerException);
162 Assert.Same(thrown, ex.InnerException);
191 Assert.Null(ex.InnerException);
217 Assert.Same(thrown, ex.InnerException);
235 Assert.Same(thrown, ex.InnerException);
271 Assert.Null(ex.InnerException);
297 Assert.Same(thrown, ex.InnerException);
315 Assert.Same(thrown, ex.InnerException);
343 Assert.Null(ex.InnerException);
386 Assert.Same(thrown, ex.InnerException);
404 Assert.Same(thrown, ex.InnerException);
429 Assert.Null(ex.InnerException);
472 Assert.Same(thrown, ex.InnerException);
490 Assert.Same(thrown, ex.InnerException);
518 Assert.Null(ex.InnerException);
544 Assert.Same(thrown, ex.InnerException);
588 Assert.Null(ex.InnerException);
614 Assert.Same(thrown, ex.InnerException);
648 Assert.Null(ex.InnerException);
674 Assert.Same(thrown, ex.InnerException);
707 Assert.Null(ex.InnerException);
733 Assert.Same(thrown, ex.InnerException);
751 Assert.Same(thrown, ex.InnerException);
776 Assert.Null(ex.InnerException);
819 Assert.Same(thrown, ex.InnerException);
837 Assert.Same(thrown, ex.InnerException);
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (5)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.JSInterop (3)
Microsoft.JSInterop.Tests (2)
Microsoft.Maui.Controls (4)
Microsoft.Maui.Controls.Build.Tasks (4)
Microsoft.Maui.Controls.Xaml (3)
Microsoft.ML.AutoML (4)
Microsoft.ML.Core (2)
Microsoft.ML.Maml (5)
Microsoft.ML.TestFramework (2)
Microsoft.ML.Tests (7)
Microsoft.VisualBasic.Core (13)
Microsoft.VisualBasic.Forms.Tests (6)
Microsoft.VisualStudio.LanguageServices (4)
MSBuild (20)
MSBuildTaskHost (8)
PresentationBuildTasks (12)
PresentationFramework (17)
ReachFramework (4)
Replay (2)
Security.TransportSecurity.IntegrationTests (10)
Shared.Tests (2)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (27)
System.ComponentModel.TypeConverter (4)
System.Configuration.ConfigurationManager (7)
System.Data.Odbc (1)
System.Diagnostics.Process (1)
System.Linq.Expressions (2)
System.Net.Http (5)
System.Net.HttpListener (6)
System.Net.NameResolution (1)
System.Net.NetworkInformation (1)
System.Net.Quic (5)
System.Net.Requests (3)
System.Net.Sockets (2)
System.Net.WebSockets (1)
System.Private.CoreLib (17)
System.Private.DataContractSerialization (3)
System.Private.Windows.Core (2)
System.Private.Xml (5)
System.Resources.Extensions (2)
System.Runtime.Serialization.Schema (1)
System.ServiceModel.Federation (3)
System.ServiceModel.NetFramingBase (6)
System.ServiceModel.Primitives.Tests (1)
System.Text.Json (1)
System.Threading.Tasks.Dataflow (4)
System.Web.Services.Description (1)
System.Windows.Forms (13)
System.Windows.Forms.Design (10)
System.Windows.Forms.Design.Tests (7)
System.Windows.Forms.Tests (4)
System.Xaml (17)
System.Xaml.Tests (34)
vbc (2)
VBCSCompiler (2)
WindowsBase.Tests (14)
xunit.assert (2)
xunit.console (1)