C# Compiler Warning – CS8425 async-iterator ‘{0}’ has one or more par

In this blog post, you’ll learn more about the C# Compiler Warning – CS8425 and the related message description

C# Compiler Warning Code

CS8425

C# Compiler Description for the Code :CS8425

Async-iterator ‘{0}’ has one or more parameters of type ‘CancellationToken’ but none of them is decorated with the ‘EnumeratorCancellation’ attribute, so the cancellation token parameter from the generated ‘IAsyncEnumerable<>.GetAsyncEnumerator’ will be unconsumed

Tags :

Leave Your Comment