private static string GetMethodName(MethodInfo method) { return GetMethodAttributeName(method) ?? method.Name; }