Skip to content

Commit 31332b8

Browse files
committed
Change UnixEpoch to field
1 parent fcd356f commit 31332b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/LogEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private LogEntry()
5353
/// </summary>
5454
public string Message { get; private set; } = string.Empty;
5555

56-
private static DateTime UnixEpoch => new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
56+
private static readonly DateTime UnixEpoch = new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
5757

5858
/// <summary>
5959
/// Returns a string that represents the current <see cref="LogEntry"/>.

0 commit comments

Comments
 (0)