With my current settings, ReSharper breaks a long line like this:
var attributes =
GetType().GetMethod((string) filterContext.RouteData.Values["action"]).GetCustomAttributes(
typeof (AutomaticRedirectToViewAttribute), false);
I think it's better than not breaking the line at all, but breaking it at the dots of methods/properties makes more sense to me:
var attributes =
GetType()
.GetMethod((string) filterContext.RouteData.Values["action"])
.GetCustomAttributes(typeof (AutomaticRedirectToViewAttribute), false);
(It doesn't have to look exactly like this.) How can I setup ReSharper to do it this way? I haven't found such option in its settings.