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