1 override of GetBaseException
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (1)
222public override Exception GetBaseException()
21 references to GetBaseException
Microsoft.AspNetCore.Authentication.Test (7)
GoogleTests.cs (6)
372Assert.Equal("The oauth state was missing or invalid.", error.GetBaseException().Message); 407Assert.Equal("Access was denied by the resource owner or by the remote server.", error.GetBaseException().Message); 525Assert.Equal("itfailed;Description=whyitfailed;Uri=https://example.com/fail", error.GetBaseException().Message); 635Assert.Equal("OAuth token endpoint failure: Status: BadRequest;Headers: ;Body: {\"Error\":\"Error\"};", error.GetBaseException().Message); 687Assert.Equal("Failed to retrieve access token.", error.GetBaseException().Message); 825Assert.Equal("The oauth state was missing or invalid.", error.GetBaseException().Message);
TwitterTests.cs (1)
120Assert.Equal("Invalid state cookie.", error.GetBaseException().Message);
Microsoft.AspNetCore.Components.Tests (7)
RendererTest.cs (7)
3678Assert.Same(exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 3694Assert.Same(exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 3734Assert.Same(exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 3901Assert.Same(exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 3957Assert.Same(exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 3977Assert.Same(ConstructorThrowingComponent.Exception, Assert.Single(renderer.HandledExceptions).GetBaseException()); 4017Assert.Same(AttachThrowingComponent.Exception, Assert.Single(renderer.HandledExceptions).GetBaseException());
Microsoft.AspNetCore.TestHost.Tests (5)
ClientHandlerTests.cs (1)
537Assert.IsType<InvalidOperationException>(ex.GetBaseException());
RequestLifetimeTests.cs (2)
67var rex = ex.GetBaseException(); 90var rex = ex.GetBaseException();
ResponseResetTests.cs (2)
126var rex = Assert.IsAssignableFrom<HttpResetTestException>(ex.GetBaseException()); 152var rex = Assert.IsAssignableFrom<HttpResetTestException>(ex.GetBaseException());
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
2438innerEx = innerEx.GetBaseException();
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
6135current._exception = t.GetBaseException();