Open sandboxFocus

Method GetStateMachineKind

GetStateMachineKind(MethodInfo)

In Metalama, use IMethod.GetAsyncInfo(IMethod) at compile time. There is no equivalent at run time.

Declaration
public static StateMachineKind GetStateMachineKind(this MethodInfo method)
Parameters
Type Name Description
MethodInfo method
Returns
Type Description
StateMachineKind