hhu-mahmoud / ExceptionalReSharper

Extension for ReSharper which analyzes thrown and documented C# exceptions and suggests improvements
Microsoft Public License
5 stars 2 forks source link

Question: Is this extension working only for public methods? #9

Closed seerek closed 2 years ago

seerek commented 2 years ago

I'm using this extension for the first time. Love the idea, but noticed strange behaviour - seems that this extension analyzes method code only when it is public. The moment I change method signature to private, it doesn't work.

  1. Is it by design?
  2. Can I somehow configure it (and enable for all methods)?

Thanks

hhu-mahmoud commented 2 years ago

@seerek sorry for too late answer. of course you can use this extension in the private methods also. in VS => Extensions => Resharper => Options => Exceptional => Inspection Level => "Inspect private methods" => Save

grafik

seerek commented 2 years ago

Thank you. Works like a charm.

I've completely missed options for this extension.