Description
async void methods cannot be awaited, and any exceptions they throw will crash the process. Use async Task instead.
Bad Code
Good Code
Properties
- Category: Threading
- Severity: Warning
- Enabled by default: True
- Code fix available: False
