We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9bb3e7 commit 1e05afcCopy full SHA for 1e05afc
src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/TypeCast.cs
@@ -35,7 +35,7 @@ internal static class TypeCast
35
private const int MaximumCacheSize = 4096; // 4096 * sizeof(CastCacheEntry) is 98304 bytes on 64bit. We will rarely need this much though.
36
#endif // DEBUG
37
38
- private static readonly CastCache s_castCache = new CastCache(InitialCacheSize, MaximumCacheSize);
+ private static CastCache s_castCache = new CastCache(InitialCacheSize, MaximumCacheSize);
39
40
[Flags]
41
internal enum AssignmentVariation
0 commit comments