ReSharper gets confused by the MVC ActionName attribute

I've got the following methods on my controller:

        [ActionName("Edit"), HttpGet]
        public void EditGetAsync(int id)

        public ActionResult EditGetCompleted(ProviderFormViewModel viewModel)
            return View(viewModel);

This works just fine, but ReSharper complains on the View method:
Cannot resolve view 'EditGet'

I think it is getting confused about the ActionName attribute.

1 comment
Comment actions Permalink

As workaround - mark completed method also by ActionName attribute.


Please sign in to leave a comment.