static XAttribute GetSynchronized (MethodInfo method) { if (method.IsConstructor) return null; return new XAttribute ("synchronized", (method.AccessFlags & MethodAccessFlags.Synchronized) != 0); }
static XAttribute GetNative (MethodInfo method) { if (method.IsConstructor) return null; return new XAttribute ("native", (method.AccessFlags & MethodAccessFlags.Native) != 0); }