public static InvalidEnumArgumentException InvalidEnumArgumentException <T>(string argumentName, T enumValue) where T : struct, Enum { return(BEnum.InvalidEnumArgumentException(argumentName, enumValue)); }
public static EnumSet <T> OfAllValues <T>() where T : struct, Enum { return(new EnumSet <T>(BEnum.GetValues <T>())); }