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 17e5a54 commit 129d054Copy full SHA for 129d054
1 file changed
EXILED/Exiled.API/Extensions/BitwiseExtensions.cs
@@ -67,7 +67,7 @@ public static T ModifyFlags<T>(this T flags, bool value, params T[] changeFlags)
67
/// <param name="value">Value to check in flag.</param>
68
/// <typeparam name="T">The type of the enum.</typeparam>
69
/// <returns><see langword="true"/> if value is presented in flag. Otherwise, <see langword="false"/>.</returns>
70
- [Obsolete("Use Enum::HasFlagFast instead.")]
+ [Obsolete("Use Enum::HasFlag instead.")]
71
public static bool HasFlagFast<T>(this T flag, T value)
72
where T : Enum => flag.HasFlag(value);
73
}
0 commit comments