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