MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ReflectionReflection­ExtensionsGet­State­Machine­Kind
Open sandboxFocus

ReflectionExtensions.GetStateMachineKind Method

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