We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685a4e3 commit d681c52Copy full SHA for d681c52
src/Components/Components/src/ChangeDetection.cs
@@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Components;
7
8
internal sealed class ChangeDetection
9
{
10
- private static ConcurrentDictionary<Type, bool> _immutableNonObjectTypesCache = new();
+ private static readonly ConcurrentDictionary<Type, bool> _immutableNonObjectTypesCache = new();
11
public static bool MayHaveChanged<T1, T2>(T1 oldValue, T2 newValue)
12
13
var oldIsNotNull = oldValue != null;
0 commit comments