#if NET20 || NET30 || NET35 || NET40 || !NET_4_6 namespace System.Runtime.CompilerServices { /// /// Identities the async state machine type for this method. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] [Serializable] public sealed class AsyncStateMachineAttribute : StateMachineAttribute { /// /// Initializes the attribute. /// /// The type that implements the state machine. public AsyncStateMachineAttribute(Type stateMachineType) : base(stateMachineType) { } } } #endif