Open sandboxFocus

Property UseAsyncTemplateForAnyAwaitable

UseAsyncTemplateForAnyAwaitable

Gets or sets a value indicating whether the OverrideEnumerableMethod(), OverrideEnumeratorMethod(), OverrideAsyncEnumerableMethod" or OverrideAsyncEnumeratorMethod" template must be applied to all methods returning a compatible return type, instead of only to methods using the yield statement.

Declaration
protected bool UseAsyncTemplateForAnyAwaitable { get; init; }
Property Value
Type Description
bool