+ public static string GetDescription (MethodAttributes ma)
+ {
+ if ((ma & MethodAttributes.Assembly) != 0)
+ return "internal";
+
+ if ((ma & MethodAttributes.Family) != 0)
+ return "protected";
+
+ if ((ma & MethodAttributes.Public) != 0)
+ return "public";
+
+ if ((ma & MethodAttributes.FamANDAssem) != 0)
+ return "protected internal";
+
+ if ((ma & MethodAttributes.Private) != 0)
+ return "private";
+
+ throw new NotImplementedException (ma.ToString ());
+ }
+
+ public static TypeAttributes TypeAttr (int mod_flags, bool is_toplevel)