System.Runtime.CompilerServices.StateMachineAttribute public class StateMachineAttribute : Attribute Identities the state machine type for this method. Documentation public Type StateMachineType { get; } Gets the type that implements the state machine. public StateMachineAttribute(Type stateMachineType) Initializes the attribute.