(string? arg, CancellationToken cancellationToken)
| 475 | } |
| 476 | |
| 477 | public Task testException(string? arg, CancellationToken cancellationToken) |
| 478 | { |
| 479 | logger.Invoke("testException({0})", arg ?? "<null>"); |
| 480 | if (arg == "Xception") |
| 481 | { |
| 482 | var x = new Xception |
| 483 | { |
| 484 | ErrorCode = 1001, |
| 485 | Message = arg |
| 486 | }; |
| 487 | throw x; |
| 488 | } |
| 489 | if (arg == "TException") |
| 490 | { |
| 491 | throw new TException(); |
| 492 | } |
| 493 | return Task.CompletedTask; |
| 494 | } |
| 495 | |
| 496 | public Task<Xtruct> testMultiException(string? arg0, string? arg1, CancellationToken cancellationToken) |
| 497 | { |
no test coverage detected