internal static IEnumerable <MethodInfo> GetAllMethodsWithAttribute <T>(BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic) where T : Attribute { return(EditorAssemblies.Internal_GetAllMethodsWithAttribute(typeof(T), bindingFlags).Cast <MethodInfo>()); }