Skip to content

Commit

Permalink
markdown lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BillWagner committed Feb 17, 2023
1 parent 56a4643 commit 21a9c80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions standard/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5180,6 +5180,7 @@ An async method returning a task type is said to be ***task-returning***.
The exact definition of the task types is implementation-defined, but from the languages point of view, a task type is in one of the states *incomplete*, *succeeded* or *faulted*. A *faulted* task records a pertinent exception. A *succeeded*TaskType»<T>` records a result of type `T`. Task types are awaitable, and tasks can therefore be the operands of await expressions ([§11.8.8](expressions.md#1188-await-expressions)).
> *Example*: The task type `MyTask<T>` is associated to the builder type `MyTaskMethodBuilder<T>` and the awaiter type `Awaiter<T>`:
>
> ```csharp
> using System.Runtime.CompilerServices;
> [AsyncMethodBuilder(typeof(MyTaskMethodBuilder<>))]
Expand All @@ -5194,6 +5195,7 @@ The exact definition of the task types is implementation-defined, but from the l
> public T GetResult();
> }
> ```
>
> *end example*
A builder type is a class or struct type that corresponds to a specific task type. A builder type can have at most one type parameter and cannot not be nested in a generic type. A builder type shall have the following public methods (for non-generic builder types, `SetResult` has no parameters):
Expand Down

0 comments on commit 21a9c80

Please sign in to comment.