public static bool HasAnyFlag(this PetFoodMask flags, PetFoodMask otherFlags) { return((flags & otherFlags) != (PetFoodMask)0); }
public static bool HasAnyFlag(this PetFoodMask flags, PetFoodType foodType) { return((flags & (PetFoodMask)(1 << (int)(foodType - 1 & (PetFoodType)31))) != (PetFoodMask)0); }
public static bool HasAnyFlag(this PetFoodMask flags, PetFoodMask otherFlags) { return (flags & otherFlags) != 0; }