static public CustomAttribute AddCustomAttributeWithConstructor(this ICustomAttributeProvider item, MethodReference method) { return(item.AddCustomAttribute(new CustomAttribute(method))); }