Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 217 Bytes

MA0147.md

File metadata and controls

9 lines (6 loc) · 217 Bytes

MA0147 - Avoid async void method for delegate

Foo(() => {}); // ok

Foo(async () => {}); // non-compliant as the delegate is not expecting an async method

void Foo(System.Action action) => throw null;