Multiple SetResult on TaskCompletionSource
An attempt was made to transition to a task to a final state when it had already completed error does not get picked up by visual studio test runner
Last week I was working on some end to end tests where we use an observable. This observable is using a TaskCompletionSource that we use to “close the subscription”. When we got the data we expected from the observable we would call SetResult on our TaskCompletionSource.