MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsOverride­Method­AspectUse­Async­Template­For­Any­Awaitable
Open sandboxFocus

OverrideMethodAspect.UseAsyncTemplateForAnyAwaitable Property

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
System.Boolean