3 writes to _id
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (2)
1012
_id
= id;
1161
_id
= (string)info.GetValue("Id", typeof(string))!; // Do not rename (binary serialization)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (1)
58
_id
= id;
13 references to _id
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (11)
89
timeZone.
_id
,
146
public string Id =>
_id
;
859
string.Equals(
_id
, other.
_id
, StringComparison.OrdinalIgnoreCase) &&
876
public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.GetHashCode(
_id
);
1020
HasIanaId = hasIanaId ||
_id
.Equals(UtcId, StringComparison.OrdinalIgnoreCase);
1127
ValidateTimeZoneInfo(
_id
, _baseUtcOffset, _adjustmentRules, out bool adjustmentRulesSupportDst);
1148
info.AddValue("Id",
_id
); // Do not rename (binary serialization)
2074
value = CreateCustomTimeZone(value.
_id
, value._baseUtcOffset, value._displayName, value._standardDisplayName);
2094
value = CreateCustomTimeZone(value.
_id
, value._baseUtcOffset, value._displayName, value._standardDisplayName);
2146
value = CreateCustomTimeZone(value.
_id
, value._baseUtcOffset, value._displayName, value._standardDisplayName);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.Unix.cs (2)
127
ValidateTimeZoneInfo(
_id
, _baseUtcOffset, _adjustmentRules, out _supportsDaylightSavingTime);
238
string? displayName = string.Create(null, stackalloc char[256], $"(UTC{(_baseUtcOffset >= TimeSpan.Zero ? '+' : '-')}{_baseUtcOffset:hh\\:mm}) {
_id
}");