src/NUnit/Core/src/TaskTests/TaskTestCaseBlock.cs
/// <summary>
/// Returns all assertable tasks that you can await (e.g. rethrow (assertion) exceptions)
/// from <see cref="TaskTestCaseList"/>. Each assertable task represents one test.
/// </summary>
/// <returns>The test cases (yielded).</returns>
Returns all assertable tasks that you can await  exceptions)
from . Each assertable task represents one test.
Returns all assertable tasks that you can await exceptions ) from . Each assertable task represents one test .
public IEnumerable<TaskTestCase> GetTestCases()
        {
            foreach (var testCase in TaskTestCaseList) {
                yield return testCase;
            }
        }
public IEnumerable < TaskTestCase > GetTestCases ( ) { foreach ( var testCase in TaskTestCaseList ) { yield return testCase ; } }
Returns all assertable tasks that you can await (e.g.
Returns all assertable tasks that you can await ( e . g .
The test cases (yielded).
The test cases ( yielded ) .