Mono.ILASM.FieldDef.AddCustomAttribute C# (CSharp) Method

AddCustomAttribute() public method

public AddCustomAttribute ( Mono.ILASM.CustomAttr customattr ) : void
customattr Mono.ILASM.CustomAttr
return void
                public void AddCustomAttribute (CustomAttr customattr)
                {
                        if (customattr_list == null)
                                customattr_list = new ArrayList ();

                        customattr_list.Add (customattr);
                }