public override void ApplyAttributes(MethodBuilder mb, ConstructorBuilder cb, int index)
{
base.ApplyAttributes(mb, cb, index);
CustomAttributeBuilder ca = TypeManager.param_array_attr;
if (ca == null)
{
ConstructorInfo ci = TypeManager.GetPredefinedConstructor(TypeManager.param_array_type, Location, Type.EmptyTypes);
if (ci == null)
{
return;
}
ca = new CustomAttributeBuilder(ci, new object [0]);
if (ca == null)
{
return;
}
TypeManager.param_array_attr = ca;
}
builder.SetCustomAttribute(ca);
}