Navigation: X# 文档 > X# 编译器错误和警告
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