<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.6.3" />

AsyncMethodBuilderAttribute

public sealed class AsyncMethodBuilderAttribute : Attribute
Indicates the type of the async method builder that should be used by a language compiler to build the attributed type when used as the return type of an async method.
namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)] public sealed class AsyncMethodBuilderAttribute : Attribute { public Type BuilderType { get; } public AsyncMethodBuilderAttribute(Type builderType) { BuilderType = builderType; } } }