// #pragma warning disable #nullable enable annotations // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.CompilerServices { /// /// Indicates the type of the async method builder that should be used by a language compiler to /// build the attributed async method or to build the attributed type when used as the return type /// of an async method. /// [global::System.AttributeUsage( global::System.AttributeTargets.Class | global::System.AttributeTargets.Struct | global::System.AttributeTargets.Interface | global::System.AttributeTargets.Delegate | global::System.AttributeTargets.Enum | global::System.AttributeTargets.Method, Inherited = false, AllowMultiple = false)] [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] public sealed class AsyncMethodBuilderAttribute : global::System.Attribute { /// Initializes the . /// The of the associated builder. public AsyncMethodBuilderAttribute(global::System.Type builderType) => BuilderType = builderType; /// Gets the of the associated builder. public global::System.Type BuilderType { get; } } } namespace System.Runtime.CompilerServices { }