Descriptor for security permissions for a class or a method NOT YET IMPLEMENTED
Inheritance: MetaDataElement
Exemple #1
0
 internal static void Read(PEReader buff, TableRow[] secs)
 {
     for (int i=0; i < secs.Length; i++)
         secs[i] = new DeclSecurity(buff);
 }
Exemple #2
0
 /*------------------------ internal functions ----------------------------*/
 internal void AddSecurity(DeclSecurity sec)
 {
     if (security == null) security = new ArrayList();
     security.Add(sec);
 }
Exemple #3
0
 public void AddSecurity(DeclSecurity sec)
 {
     methFlags |= HasSecurity;
     if (security == null) security = new ArrayList();
     security.Add(sec);
 }