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

OverrideMethodAspect.UseEnumerableTemplateForAnyEnumerable Property

UseEnumerableTemplateForAnyEnumerable

Gets or sets 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; set; }
Property Value
Type Description
System.Boolean