Open sandboxFocus

Property UseEnumerableTemplateForAnyEnumerable

UseEnumerableTemplateForAnyEnumerable

Gets a value indicating whether the OverrideAsyncMethod() template must be applied to all methods returning an awaitable type (including IAsyncEnumerable and IAsyncEnumerator), instead of only to methods that have the async modifier.

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