Skip to content

Commit b50ad97

Browse files
authored
[Blazor] ChangeDetection.cs - typo in comments (EventCallBack => EventCallback) (#54333)
1 parent 508b581 commit b50ad97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Components/src/ChangeDetection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static bool MayHaveChanged<T1, T2>(T1 oldValue, T2 newValue)
3737
// This logic assumes that no new System.TypeCode enum entries have been declared since 7.0, or at least that any new ones
3838
// represent immutable types. If System.TypeCode changes, review this logic to ensure it is still correct.
3939
// Supported immutable types : bool, byte, sbyte, short, ushort, int, uint, long, ulong, char, double,
40-
// string, DateTime, decimal, Guid, Enum, EventCallBack, EventCallBack<>.
40+
// string, DateTime, decimal, Guid, Enum, EventCallback, EventCallback<>.
4141
// For performance reasons, the following immutable types are not supported: IntPtr, UIntPtr, Type.
4242
private static bool IsKnownImmutableType(Type type)
4343
=> Type.GetTypeCode(type) != TypeCode.Object

0 commit comments

Comments
 (0)