Enum MethodReturnTypeKind
Represents the different kinds of return types that a method can have.
public enum MethodReturnTypeKind
Fields
Task = 3The method returns a Task.
TaskOfT = 5The method returns a Task<TResult>.
Unrecognized = 0The return type is not recognized or does not fall into any other category.
ValueTask = 2The method returns a ValueTask.
ValueTaskOfT = 4The method returns a ValueTask<TResult>.
Void = 1The method returns void.