/// <summary> /// Add security to this class /// </summary> /// <param name="sec">The descriptor for the security to add to this class</param> internal void AddSecurity(DeclSecurity sec) { Contract.Requires(sec != null); flags |= HasSecurity; if (security == null) security = new ArrayList(); security.Add(sec); }
public void AddSecurity(DeclSecurity sec) { methFlags |= HasSecurity; if (security == null) security = new ArrayList(); security.Add(sec); }
/*------------------------ internal functions ----------------------------*/ internal void AddSecurity(DeclSecurity sec) { if (security == null) security = new ArrayList(); security.Add(sec); }
internal static void Read(PEReader buff, TableRow[] secs) { for (int i = 0; i < secs.Length; i++) secs[i] = new DeclSecurity(buff); }