Reputation: 2971
Am getting gendarme issues on my MVC 5 Application in all the public methods stating
"A method of an IDisposable type does not throw System.ObjectDisposedException."
As far as i know most of the .net resources(Managed resources) by default implement IDisposable.
Whether the MVC ActionResult doesn't implement IDisposable ? or the gendarme is showing it wrongly ?
More on gendarme issue and similar conversation Thread here
If i apply the solution to all the functions gendarme is happy. So am little confused !!
Upvotes: 0
Views: 75
Reputation: 386
MVC ActionResult is not derived from any class/interface. ActionResult is basically an abstract class.
Upvotes: -1