Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 288 Bytes

MA0156.md

File metadata and controls

11 lines (8 loc) · 288 Bytes

MA0156 - Use 'Async' suffix when a method returns IAsyncEnumerable<T>

Methods that return IAsyncEnumerable<T> should have the Async suffix.

// compliant
IAsyncEnumerable<string> FooAsync() => throw null;

// non-compliant
IAsyncEnumerable<string> Foo() => throw null;