42 references to InvalidTimeZoneException
FormatterWebSite (1)
Controllers\AsyncEnumerableController.cs (1)
34throw new InvalidTimeZoneException();
Microsoft.AspNetCore.Components.Server.Tests (3)
Circuits\CircuitHostTest.cs (1)
277var ex = new InvalidTimeZoneException();
Circuits\CircuitRegistryTest.cs (1)
141handler.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 (28)
ComponentBaseTest.cs (2)
749return Task.FromException(new InvalidTimeZoneException()); 758return Task.FromException(new InvalidTimeZoneException());
EventCallbackFactoryBinderExtensionsTest.cs (1)
51Action<int> setter = (_) => { throw new InvalidTimeZoneException(); };
RendererTest.cs (18)
1547throw new InvalidTimeZoneException(); 1580throw new InvalidTimeZoneException(); 1615throw new InvalidTimeZoneException(); 1883throw new InvalidTimeZoneException(); 1921throw new InvalidTimeZoneException(); 1961throw new InvalidTimeZoneException(); 3549var exception = new InvalidTimeZoneException(); 3582var exception = new InvalidTimeZoneException(); 3615var exception = new InvalidTimeZoneException(); 3649var exception = new InvalidTimeZoneException(); 3744var exception1 = new InvalidTimeZoneException(); 3803var exception1 = new InvalidTimeZoneException(); 3857var exception = new InvalidTimeZoneException(); 3911var exception = new InvalidTimeZoneException(); 3983public static readonly Exception Exception = new InvalidTimeZoneException(); 4023public static readonly Exception Exception = new InvalidTimeZoneException(); 4902var exception1 = new InvalidTimeZoneException(); 4931var exception2 = new InvalidTimeZoneException();
Rendering\RendererSynchronizationContextTest.cs (7)
54throw new InvalidTimeZoneException(); 188throw new InvalidTimeZoneException(); 319throw new InvalidTimeZoneException(); 469throw new InvalidTimeZoneException(); 557throw new InvalidTimeZoneException(); 651throw new InvalidTimeZoneException(); 739throw 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();