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

ReflectionExtensions.GetStateMachinePublicMethod Method

GetStateMachinePublicMethod(MethodInfo)

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

Declaration
public static MethodInfo GetStateMachinePublicMethod(this MethodInfo method)
Parameters
Type Name Description
System.Reflection.MethodInfo method
Returns
Type Description
System.Reflection.MethodInfo