예제 #1
0
 public static string GetModifiers(this CodeObject o)
 {
     if (o.HasModifiers())
     {
         return((string)o.UserData[USERDATA_MODIFIERS]);
     }
     return("");
 }
예제 #2
0
 public static MemberAttributes GetMemberAttributes(this CodeObject o)
 {
     if (o.HasModifiers())
     {
         return((MemberAttributes)o.UserData[USERDATA_ATTRIBUTES]);
     }
     return((MemberAttributes)0);
 }