13 references to InvalidTimeZoneException
Microsoft.Extensions.AI.Tests (5)
ChatCompletion\DistributedCachingChatClientTest.cs (2)
177
throw new
InvalidTimeZoneException
("some failure");
486
() => throw new
InvalidTimeZoneException
("some failure"),
ChatCompletion\FunctionInvokingChatClientTests.cs (2)
849
throw new
InvalidTimeZoneException
($"Exception from call {callIndex}");
928
throw new
InvalidTimeZoneException
($"It failed");
Embeddings\DistributedCachingEmbeddingGeneratorTest.cs (1)
183
throw new
InvalidTimeZoneException
("some failure");
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (3)
1347
throw new
InvalidTimeZoneException
(SR.Argument_AdjustmentRulesNoNulls);
1352
throw new
InvalidTimeZoneException
(SR.ArgumentOutOfRange_UtcOffsetAndDaylightDelta);
1358
throw new
InvalidTimeZoneException
(SR.Argument_AdjustmentRulesOutOfOrder);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.NonAndroid.cs (1)
140
e = new
InvalidTimeZoneException
(SR.Format(SR.InvalidTimeZone_InvalidFileData, id, timeZoneFilePath));