private static bool IsValid(AttributeUsageAttribute usage, AttributeTargets target) { return target == (usage.ValidOn & target); }