37 references to InvalidTimeZoneException
BasicWebSite (1)
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\RazorComponents_Throws_razor.g.cs (1)
45
throw new
InvalidTimeZoneException
("test");
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
TestComponents_ComponentThatThrowsSynchronously_razor.g.cs (1)
27
=> throw new
InvalidTimeZoneException
("Test message");
TestComponents_StreamingComponentThatThrowsAsynchronously_razor.g.cs (1)
38
throw new
InvalidTimeZoneException
("Test message with <b>markup</b>");
Microsoft.AspNetCore.Components.Tests (7)
RendererTest.cs (7)
3688
var exception = new
InvalidTimeZoneException
("Error from outside the sync context.");
4547
var exception = new
InvalidTimeZoneException
("Error during render");
4596
exception = new
InvalidTimeZoneException
("Error during SetParametersAsync");
4614
var exception = new
InvalidTimeZoneException
("Error during SetParametersAsync");
4654
var exception = new
InvalidTimeZoneException
("Error during event");
4692
var exception = new
InvalidTimeZoneException
("Error during event");
4737
var exception = new
InvalidTimeZoneException
("Error during event");
Microsoft.AspNetCore.Components.Web.Tests (2)
HtmlRendering\HtmlRendererTest.cs (2)
1349
throw new
InvalidTimeZoneException
("async");
1359
throw new
InvalidTimeZoneException
("sync");
Microsoft.AspNetCore.Routing.Tests (11)
EndpointMiddlewareTest.cs (11)
83
throw new
InvalidTimeZoneException
("Should not be called");
110
throw new
InvalidTimeZoneException
("Should not be called");
139
throw new
InvalidTimeZoneException
("Should not be called");
175
throw new
InvalidTimeZoneException
("Should not be called");
209
throw new
InvalidTimeZoneException
("Should not be called");
236
throw new
InvalidTimeZoneException
("Should not be called");
272
throw new
InvalidTimeZoneException
("Should not be called");
306
throw new
InvalidTimeZoneException
("Should not be called");
334
throw new
InvalidTimeZoneException
("Should not be called");
370
throw new
InvalidTimeZoneException
("Should not be called");
404
throw new
InvalidTimeZoneException
("Should not be called");
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseTests.cs (1)
197
throw new
InvalidTimeZoneException
("Failed OnStarting");
Microsoft.Extensions.AI.Tests (5)
ChatCompletion\DistributedCachingChatClientTest.cs (2)
176
throw new
InvalidTimeZoneException
("some failure");
485
() => throw new
InvalidTimeZoneException
("some failure"),
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
417
throw new
InvalidTimeZoneException
($"Exception from call {callIndex}");
496
throw new
InvalidTimeZoneException
($"It failed");
Embeddings\DistributedCachingEmbeddingGeneratorTest.cs (1)
182
throw new
InvalidTimeZoneException
("some failure");
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (3)
1336
throw new
InvalidTimeZoneException
(SR.Argument_AdjustmentRulesNoNulls);
1341
throw new
InvalidTimeZoneException
(SR.ArgumentOutOfRange_UtcOffsetAndDaylightDelta);
1347
throw new
InvalidTimeZoneException
(SR.Argument_AdjustmentRulesOutOfOrder);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (4)
697
throw new
InvalidTimeZoneException
(SR.InvalidTimeZone_NoTTInfoStructures);
865
throw new
InvalidTimeZoneException
(SR.Format(SR.InvalidTimeZone_UnparsablePosixMDateString, date.ToString()));
940
throw new
InvalidTimeZoneException
(SR.InvalidTimeZone_InvalidJulianDay);
955
throw new
InvalidTimeZoneException
(SR.InvalidTimeZone_InvalidJulianDay);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
140
e = new
InvalidTimeZoneException
(SR.Format(SR.InvalidTimeZone_InvalidFileData, id, timeZoneFilePath));