Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS8424
The EnumeratorCancellationAttribute applied to parameter '{0}' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable