Skip to content

Commit 84dcbb7

Browse files
author
Steve Pfister
committed
Added cacheddata param
1 parent d59fb1a commit 84dcbb7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Android.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private static TimeZoneInfo GetLocalTimeZoneCore()
2020
}
2121

2222
//TODO: PopulateAllSystemTimeZones maps to GetSystemTimeZonesCore in mono/mono implementation
23-
private static void PopulateAllSystemTimeZonesCore()
23+
private static void PopulateAllSystemTimeZonesCore(CachedData cachedData)
2424
{
2525

2626
}

src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.AnyUnix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private static TimeZoneInfo GetLocalTimeZone(CachedData cachedData)
241241
{
242242
Debug.Assert(Monitor.IsEntered(cachedData));
243243

244-
return GetLocalTimeZoneCore();
244+
return GetLocalTimeZoneCore(cachedData);
245245
}
246246

247247
private static TimeZoneInfoResult TryGetTimeZoneFromLocalMachine(string id, out TimeZoneInfo? value, out Exception? e)

src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private static TimeZoneInfo GetLocalTimeZoneCore()
1818
return GetLocalTimeZoneFromTzFile();
1919
}
2020

21-
private static void PopulateAllSystemTimeZonesCore()
21+
private static void PopulateAllSystemTimeZonesCore(CachedData cachedData)
2222
{
2323
string timeZoneDirectory = GetTimeZoneDirectory();
2424
foreach (string timeZoneId in GetTimeZoneIds(timeZoneDirectory))

0 commit comments

Comments
 (0)