Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Make TimeZoneInfo fields readonly #8526

Merged
merged 1 commit into from
Dec 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/mscorlib/src/System/TimeZoneInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ internal enum TimeZoneInfoOptions {
sealed public class TimeZoneInfo : IEquatable<TimeZoneInfo>, ISerializable, IDeserializationCallback
{
// ---- SECTION: members supporting exposed properties -------------*
private String m_id;
private String m_displayName;
private String m_standardDisplayName;
private String m_daylightDisplayName;
private TimeSpan m_baseUtcOffset;
private Boolean m_supportsDaylightSavingTime;
private AdjustmentRule[] m_adjustmentRules;
private readonly String m_id;
private readonly String m_displayName;
private readonly String m_standardDisplayName;
private readonly String m_daylightDisplayName;
private readonly TimeSpan m_baseUtcOffset;
private readonly Boolean m_supportsDaylightSavingTime;
private readonly AdjustmentRule[] m_adjustmentRules;

// ---- SECTION: members for internal support ---------*
private enum TimeZoneInfoResult {
Expand Down