Exemple #1
0
 public static bool HasFlag(this ulong value, ulong flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <ulong>(value, flag));
 }
Exemple #2
0
 public static bool HasFlag(this uint value, uint flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <uint>(value, flag));
 }
Exemple #3
0
 public static bool HasFlag(this sbyte value, sbyte flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <sbyte>(value, flag));
 }
Exemple #4
0
 public static bool HasFlag(this short value, short flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <short>(value, flag));
 }
Exemple #5
0
 public static bool Has <T>(this T value, T flag) where T : struct, Enum
 {
     return(FlagTypeExtensions.HasFlagUnchecked <T>(value, flag));
 }