Table of Contents

Enum MethodReturnTypeKind

Namespace
PolyType.Roslyn
Assembly
PolyType.Roslyn.dll

Represents the different kinds of return types that a method can have.

public enum MethodReturnTypeKind

Fields

Task = 3

The method returns a Task.

TaskOfT = 5

The method returns a Task<TResult>.

Unrecognized = 0

The return type is not recognized or does not fall into any other category.

ValueTask = 2

The method returns a ValueTask.

ValueTaskOfT = 4

The method returns a ValueTask<TResult>.

Void = 1

The method returns void.