/// <summary> /// Associate some custom attribute(s) with this meta data element /// </summary> /// <param name="cas">list of custom attributes</param> public void SetCustomAttributes(CustomAttribute[] cas) { if (cas == null) customAttributes = null; else customAttributes = new ArrayList(cas); }
internal static void Read(PEReader buff, TableRow[] attrs) { for (int i=0; i < attrs.Length; i++) { attrs[i] = new CustomAttribute(buff); } }
/// <summary> /// Associate a custom attribute with this meta data element /// </summary> public void AddCustomAttribute(CustomAttribute ca) { if (customAttributes == null) { customAttributes = new ArrayList(); } customAttributes.Add(ca); }