示例#1
0
 /// <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);
 }
示例#2
0
 public void AddSecurity(DeclSecurity sec)
 {
     methFlags |= HasSecurity;
     if (security == null) security = new ArrayList();
     security.Add(sec);
 }
示例#3
0
 /*------------------------ internal functions ----------------------------*/
 internal void AddSecurity(DeclSecurity sec)
 {
     if (security == null) security = new ArrayList();
     security.Add(sec);
 }
示例#4
0
 internal static void Read(PEReader buff, TableRow[] secs)
 {
     for (int i = 0; i < secs.Length; i++)
         secs[i] = new DeclSecurity(buff);
 }