Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Override­Method­Aspect / Use­Async­Template­For­Any­Awaitable

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; set; }
Property Value
Type Description
Boolean