Commit ea56e90
authored
Csharp language reference attributes: add missing AsyncMethodBuilder SetStateMachine member (#45929)
This method is mentioned in the Roslyn documentation:
https://github.com/dotnet/roslyn/blob/main/docs/features/task-types.md
If it is not included when implementing the AsyncMethodBuilder pattern, the C# compiler fails to compile with a CS0656 error.
I also added a `public` to the `Start` method to match the other methods described in this section.1 parent 6753af2 commit ea56e90
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
| |||
0 commit comments