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