17 instantiations of TimeZoneNotFoundException
Microsoft.AspNetCore.Authentication.Negotiate.Test (1)
NegotiateHandlerTests.cs (1)
278throw new TimeZoneNotFoundException();
Microsoft.AspNetCore.Components.Tests (4)
ComponentBaseTest.cs (4)
406var expected = new TimeZoneNotFoundException(); 422var expected = new TimeZoneNotFoundException(); 438var expected = new TimeZoneNotFoundException(); 454var expected = new TimeZoneNotFoundException();
Microsoft.AspNetCore.Mvc.Core.Test (6)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
331throw new TimeZoneNotFoundException();
Infrastructure\AsyncEnumerableReaderTest.cs (1)
271throw new TimeZoneNotFoundException();
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
56throw new TimeZoneNotFoundException();
ModelBinding\FormFileValueProviderFactoryTest.cs (1)
92var exception = new TimeZoneNotFoundException();
ModelBinding\FormValueProviderFactoryTest.cs (1)
80var exception = new TimeZoneNotFoundException();
ModelBinding\JQueryFormValueProviderFactoryTest.cs (1)
165var exception = new TimeZoneNotFoundException();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Infrastructure\AsyncEnumerableReaderTest.cs (1)
271throw new TimeZoneNotFoundException();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
CachedExpressionCompilerTest.cs (2)
968throw new TimeZoneNotFoundException(); 995throw new TimeZoneNotFoundException();
Filters\SaveTempDataFilterTest.cs (1)
419throw new TimeZoneNotFoundException();
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
621throw new TimeZoneNotFoundException(SR.Format(SR.TimeZoneNotFound_MissingData, id), e);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
82e = new TimeZoneNotFoundException(SR.Format(SR.InvalidTimeZone_InvalidId, id));
30 references to TimeZoneNotFoundException
Microsoft.AspNetCore.Components.Tests (12)
ComponentBaseTest.cs (12)
406var expected = new TimeZoneNotFoundException(); 412var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.RenderRootComponentAsync(componentId)); 422var expected = new TimeZoneNotFoundException(); 428var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.RenderRootComponentAsync(componentId)); 438var expected = new TimeZoneNotFoundException(); 444var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.RenderRootComponentAsync(componentId)); 454var expected = new TimeZoneNotFoundException(); 460var actual = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => renderer.RenderRootComponentAsync(componentId));
Microsoft.AspNetCore.Mvc.Core.Test (12)
Formatters\SystemTextJsonOutputFormatterTest.cs (1)
83await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => formatter.WriteResponseBodyAsync(outputFormatterContext, Encoding.GetEncoding("utf-16")));
Infrastructure\AsyncEnumerableReaderTest.cs (1)
199await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => reader(enumerable, default));
Infrastructure\SystemTextJsonResultExecutorTest.cs (1)
33await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => executor.ExecuteAsync(context, result));
ModelBinding\FormFileValueProviderFactoryTest.cs (3)
92var exception = new TimeZoneNotFoundException(); 98var ex = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => factory.CreateValueProviderAsync(valueProviderContext));
ModelBinding\FormValueProviderFactoryTest.cs (3)
80var exception = new TimeZoneNotFoundException(); 86var ex = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => factory.CreateValueProviderAsync(valueProviderContext));
ModelBinding\JQueryFormValueProviderFactoryTest.cs (3)
165var exception = new TimeZoneNotFoundException(); 171var ex = await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => factory.CreateValueProviderAsync(valueProviderContext));
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Infrastructure\AsyncEnumerableReaderTest.cs (1)
199await Assert.ThrowsAsync<TimeZoneNotFoundException>(() => reader(enumerable, default));
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1197[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.TimeZoneNotFoundException))]
netstandard (1)
netstandard.cs (1)
2164[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.TimeZoneNotFoundException))]
System.Core (1)
System.Core.cs (1)
246[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.TimeZoneNotFoundException))]
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
599/// it will throw <see cref="InvalidTimeZoneException"/> / <see cref="TimeZoneNotFoundException"/> /
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
847[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.TimeZoneNotFoundException))]