Open Issues Need Help
View All on GitHubAI Summary: Improve the code fixes provided by the CheckedExceptions Roslyn analyzer. This involves fixing a newline trivia bug, renaming existing code fixes for better clarity, optimizing the 'Add throws declaration' fix to use a single attribute instead of two, and investigating the creation of a new code fix: 'Catch exception in surrounding try/catch'.
Enforce better exception handling in C#/.NET by ensuring exceptions are explicitly handled.
AI Summary: Debug and fix a bug in a Roslyn analyzer that adds a `ThrowsAttribute` declaration to C# code. The bug causes an unexpected newline character to be inserted after the added attribute. The fix involves refining the analyzer's handling of code trivia (whitespace and comments) during code modification. Improving the codefix's description is also requested.
Enforce better exception handling in C#/.NET by ensuring exceptions are explicitly handled.