public static AsyncStateMachineMetadata GetMetadata(this IAsyncStateMachineMetadataProvider provider, MethodInfo methodInfo) => provider.GetMetadata(MethodInfoToStateMachineTypeConverter.GetStateMachineType(methodInfo));
public static AsyncStateMachineMetadata Build(this IAsyncStateMachineMetadataBuilder builder, MethodInfo methodInfo) => builder.Build(MethodInfoToStateMachineTypeConverter.GetStateMachineType(methodInfo));