Skip to content

Commit 17e5a54

Browse files
committed
prevent breaking change
1 parent ed260ed commit 17e5a54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EXILED/Exiled.API/Extensions/BitwiseExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public static T ModifyFlags<T>(this T flags, bool value, params T[] changeFlags)
6767
/// <param name="value">Value to check in flag.</param>
6868
/// <typeparam name="T">The type of the enum.</typeparam>
6969
/// <returns><see langword="true"/> if value is presented in flag. Otherwise, <see langword="false"/>.</returns>
70-
[Obsolete("Use Enum::HasFlag instead.")]
71-
public static bool HasFlag<T>(this T flag, T value)
70+
[Obsolete("Use Enum::HasFlagFast instead.")]
71+
public static bool HasFlagFast<T>(this T flag, T value)
7272
where T : Enum => flag.HasFlag(value);
7373
}
7474
}

0 commit comments

Comments
 (0)