Open sandboxFocus

Property ResultType

ResultType

Gets the unwrapped result type of the async method, i.e., the type of the await expression.

Declaration
public IType ResultType { get; }
Property Value
Type Description
IType

The unwrapped result type. For example, for a method returning Task<string>, this property returns string. For a method returning Task or void, this property returns void.