public static void AddAttribute(this ICustomAttributeProvider cap, MethodReference constructor) => cap.AddAttribute(new CustomAttribute(constructor));