SergeyTeplyakov / ErrorProne.NET

Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)
MIT License
869 stars 43 forks source link

Warn on throw foobar.MyException #281

Open SergeyTeplyakov opened 4 months ago

SergeyTeplyakov commented 4 months ago

And suggest using 'ExceptionDispatchInfo.Capture(foobar.MyException).Throw()' to keep the stack trace of the original exception.