You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/ReflectionEmitCachingMemberAccessor.Cache.cs
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
// Licensed to the .NET Foundation under one or more agreements.
1
+
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
4
#if NETFRAMEWORK||NET
@@ -14,16 +14,16 @@ internal sealed partial class ReflectionEmitCachingMemberAccessor
14
14
privatesealedclassCache<TKey>whereTKey:notnull
15
15
{
16
16
privateint_evictLock;
17
-
privatelong_lastEvictedTicks;// timestamp of latest eviction operation.
18
-
privatereadonlylong_evictionIntervalTicks;// min timespan needed to trigger a new evict operation.
19
-
privatereadonlylong_slidingExpirationTicks;// max timespan allowed for cache entries to remain inactive.
17
+
privatelong_lastEvictedTimestamp;// Stopwatch timestamp of the latest eviction operation.
18
+
privatereadonlyTimeSpan_evictionInterval;// min duration needed to trigger a new evict operation.
19
+
privatereadonlyTimeSpan_slidingExpiration;// max duration allowed for cache entries to remain inactive.
0 commit comments