We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TimeZoneInfo
1 parent 44167e0 commit c693bfaCopy full SHA for c693bfa
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.cs
@@ -1017,7 +1017,7 @@ private TimeZoneInfo(
1017
_supportsDaylightSavingTime = adjustmentRulesSupportDst && !disableDaylightSavingTime;
1018
_adjustmentRules = adjustmentRules;
1019
1020
- HasIanaId = _id.Equals(UtcId, StringComparison.OrdinalIgnoreCase) ? true : hasIanaId;
+ HasIanaId = hasIanaId || _id.Equals(UtcId, StringComparison.OrdinalIgnoreCase);
1021
}
1022
1023
/// <summary>
0 commit comments