48 references to InvalidTimeZoneException
BasicTestApp (8)
ServerReliability\ThrowingAttachComponent.cs (1)
12throw new InvalidTimeZoneException();
ServerReliability\ThrowingConstructorComponent.cs (1)
12throw new InvalidTimeZoneException();
ServerReliability\ThrowingDisposeComponent.cs (1)
20throw new InvalidTimeZoneException();
ServerReliability\ThrowingOnAfterRenderAsyncComponent.cs (1)
21throw new InvalidTimeZoneException();
ServerReliability\ThrowingOnAfterRenderSyncComponent.cs (1)
20throw new InvalidTimeZoneException();
ServerReliability\ThrowingRenderComponent.cs (1)
14throw new InvalidTimeZoneException();
ServerReliability\ThrowingSetParametersAsyncComponent.cs (1)
17throw new InvalidTimeZoneException();
ServerReliability\ThrowingSetParametersSyncComponent.cs (1)
16throw new InvalidTimeZoneException();
FormatterWebSite (1)
Controllers\AsyncEnumerableController.cs (1)
34throw new InvalidTimeZoneException();
Microsoft.AspNetCore.Components.Server.Tests (3)
Circuits\CircuitHostTest.cs (1)
276var ex = new InvalidTimeZoneException();
Circuits\CircuitRegistryTest.cs (1)
136handler.Setup(h => h.OnConnectionUpAsync(It.IsAny<Circuit>(), It.IsAny<CancellationToken>())).Throws(new InvalidTimeZoneException());
Circuits\RevalidatingServerAuthenticationStateProviderTest.cs (1)
85provider.NextValidationResult = Task.FromException<bool>(new InvalidTimeZoneException());
Microsoft.AspNetCore.Components.Tests (26)
EventCallbackFactoryBinderExtensionsTest.cs (1)
51Action<int> setter = (_) => { throw new InvalidTimeZoneException(); };
RendererTest.cs (18)
1546throw new InvalidTimeZoneException(); 1579throw new InvalidTimeZoneException(); 1614throw new InvalidTimeZoneException(); 1882throw new InvalidTimeZoneException(); 1920throw new InvalidTimeZoneException(); 1960throw new InvalidTimeZoneException(); 3548var exception = new InvalidTimeZoneException(); 3581var exception = new InvalidTimeZoneException(); 3614var exception = new InvalidTimeZoneException(); 3648var exception = new InvalidTimeZoneException(); 3743var exception1 = new InvalidTimeZoneException(); 3802var exception1 = new InvalidTimeZoneException(); 3856var exception = new InvalidTimeZoneException(); 3910var exception = new InvalidTimeZoneException(); 3982public static readonly Exception Exception = new InvalidTimeZoneException(); 4022public static readonly Exception Exception = new InvalidTimeZoneException(); 4901var exception1 = new InvalidTimeZoneException(); 4930var exception2 = new InvalidTimeZoneException();
Rendering\RendererSynchronizationContextTest.cs (7)
54throw new InvalidTimeZoneException(); 189throw new InvalidTimeZoneException(); 320throw new InvalidTimeZoneException(); 470throw new InvalidTimeZoneException(); 558throw new InvalidTimeZoneException(); 652throw new InvalidTimeZoneException(); 740throw new InvalidTimeZoneException();
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\BrowserFileTest.cs (1)
64jsStreamReference.Setup(x => x.DisposeAsync()).Throws(new InvalidTimeZoneException());
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1493throw new InvalidTimeZoneException();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
RuntimeViewCompilerTest.cs (1)
697var exception = new InvalidTimeZoneException();
Microsoft.AspNetCore.Routing.Tests (1)
EndpointRoutingMiddlewareTest.cs (1)
146.Throws(new InvalidTimeZoneException())
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ConnectionDispatcherTests.cs (1)
108completeFeature.OnCompleted(state => { callbackState = state; throw new InvalidTimeZoneException(); }, stateObject);
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (3)
HealthCheckPublisherHostedServiceTest.cs (3)
671new TestPublisher() { Exception = new InvalidTimeZoneException(), }, 713new TestPublisher() { Exception = new InvalidTimeZoneException(), }, 715new TestPublisher() { Exception = new InvalidTimeZoneException(), },
Microsoft.JSInterop.Tests (2)
Infrastructure\DotNetDispatcherTest.cs (2)
1044throw new InvalidTimeZoneException(); 1051throw new InvalidTimeZoneException();