olohmann / AsyncAwaitAnalyzer

A set of Roslyn Diagnostic Analyzers and Code Fixes for Async/Await Programming in C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsyncAwaitAnalyzer

A set of Roslyn Diagnostic Analyzers and Code Fixes for Async/Await Programming in C#.

Diagnostics

  • ASYNC-0001 - Avoid async void signatures. This diagnostic verifies that async void method declarations are only used on event handlers.
  • ASYNC-0002 - Use async method naming style. This diagnostic enforces a 'Async' suffix for methods doing async work.
  • ASYNC-0003 - Use ConfigureAwait in library code. This diagnostic verifies that CongfigureAwait(false) is used in library code.

Code Fixes

  • Fix for ASYNC-0002.

About

A set of Roslyn Diagnostic Analyzers and Code Fixes for Async/Await Programming in C#.

License:MIT License


Languages

Language:C# 98.0%Language:PowerShell 2.0%