0

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 !!

Community
  • 1
  • 1
Peru
  • 2,871
  • 5
  • 37
  • 66

1 Answers1

-1

MVC ActionResult is not derived from any class/interface. ActionResult is basically an abstract class.

Ramesh
  • 376
  • 2
  • 6
  • 11