Пример #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);
 }