<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.2" />

System.Runtime.CompilerServices.EnumeratorCancellationAttribute

Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from GetAsyncEnumerator.
namespace System.Runtime.CompilerServices { public sealed class EnumeratorCancellationAttribute : Attribute { public EnumeratorCancellationAttribute(); } }