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 508b581 commit b50ad97Copy full SHA for b50ad97
src/Components/Components/src/ChangeDetection.cs
@@ -37,7 +37,7 @@ public static bool MayHaveChanged<T1, T2>(T1 oldValue, T2 newValue)
37
// This logic assumes that no new System.TypeCode enum entries have been declared since 7.0, or at least that any new ones
38
// represent immutable types. If System.TypeCode changes, review this logic to ensure it is still correct.
39
// Supported immutable types : bool, byte, sbyte, short, ushort, int, uint, long, ulong, char, double,
40
- // string, DateTime, decimal, Guid, Enum, EventCallBack, EventCallBack<>.
+ // string, DateTime, decimal, Guid, Enum, EventCallback, EventCallback<>.
41
// For performance reasons, the following immutable types are not supported: IntPtr, UIntPtr, Type.
42
private static bool IsKnownImmutableType(Type type)
43
=> Type.GetTypeCode(type) != TypeCode.Object
0 commit comments