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