test async enumerable

This commit is contained in:
Bruno Garcia
2021-01-03 15:07:54 -05:00
committed by Ben Adams
parent 00695a8db1
commit c502ee90f6
3 changed files with 72 additions and 1 deletions

View File

@@ -845,7 +845,7 @@ namespace System.Diagnostics
{
foundAttribute = true;
foundIteratorAttribute |= asma is IteratorStateMachineAttribute
#if NETSTANDARD2_1
#if HAS_ASYNC_ENUMERATOR
|| asma is AsyncIteratorStateMachineAttribute
#endif
;