-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
How can !hasAwaitStarted_a_1_1 in the catch block ever not evaluate to false? It's not assigned anywhere else.
stronginject/StrongInject.Tests.Unit/GeneratorTests.cs
Lines 7112 to 7125 in 2143d9f
| try | |
| { | |
| hasAwaitStarted_a_1_1 = true; | |
| await a_1_1; | |
| } | |
| catch | |
| { | |
| if (!hasAwaitStarted_a_1_1) | |
| { | |
| _ = a_1_1.AsTask().ContinueWith(failedTask => _ = failedTask.Exception, global::System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted); | |
| } | |
| throw; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels