From 14b15477622a5f6b72be3bd5a62b9a619cada751 Mon Sep 17 00:00:00 2001 From: Robert Haken Date: Mon, 4 Mar 2024 01:47:55 +0100 Subject: [PATCH] [Blazor] ChangeDetection.cs - typo in comments (EventCallBack => EventCallback) --- src/Components/Components/src/ChangeDetection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Components/src/ChangeDetection.cs b/src/Components/Components/src/ChangeDetection.cs index d27b491893f4..68918d023758 100644 --- a/src/Components/Components/src/ChangeDetection.cs +++ b/src/Components/Components/src/ChangeDetection.cs @@ -37,7 +37,7 @@ public static bool MayHaveChanged(T1 oldValue, T2 newValue) // This logic assumes that no new System.TypeCode enum entries have been declared since 7.0, or at least that any new ones // represent immutable types. If System.TypeCode changes, review this logic to ensure it is still correct. // Supported immutable types : bool, byte, sbyte, short, ushort, int, uint, long, ulong, char, double, - // string, DateTime, decimal, Guid, Enum, EventCallBack, EventCallBack<>. + // string, DateTime, decimal, Guid, Enum, EventCallback, EventCallback<>. // For performance reasons, the following immutable types are not supported: IntPtr, UIntPtr, Type. private static bool IsKnownImmutableType(Type type) => Type.GetTypeCode(type) != TypeCode.Object