Language
C#
Compiler
.NET Core 2.1.401
Options
$ dotnet build
CancelTest (False)
sourceBlock is Canceled
targetBlock is not completed
CancelTest (True)
sourceBlock is Canceled
targetBlock is RanToCompletion
CancelBothTest
sourceBlock is Canceled
targetBlock is Canceled
ExceptionTest (False)
sourceBlock is Faulted
targetBlock is not completed
ExceptionTest (True)
sourceBlock is Faulted
targetBlock is Faulted
Exit Code:
0