Missing YAML file #51
Annotations
11 warnings
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnGenericRequestHandler.cs#L10
Async-iterator 'ReturnGenericStreamRequestHandler<TValue>.Handle(IServiceProvider, ReturnGenericStreamRequest<TValue>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnHandler.cs#L11
Async-iterator 'ReturnStreamHandler.Handle(IServiceProvider, ReturnStreamRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnNullableGenericHandler.cs#L19
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnHandler.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnGenericRequestHandler.cs#L10
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
tests/Mediator.DependencyInjection.Tests/NotificationTest.cs#L118
Converting null literal or possible null value to non-nullable type.
|
test:
tests/Mediator.DependencyInjection.Tests/NotificationTest.cs#L123
Dereference of a possibly null reference.
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnHandler.cs#L11
Async-iterator 'ReturnStreamHandler.Handle(IServiceProvider, ReturnStreamRequest, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnGenericRequestHandler.cs#L10
Async-iterator 'ReturnGenericStreamRequestHandler<TValue>.Handle(IServiceProvider, ReturnGenericStreamRequest<TValue>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
test:
tests/Mediator.DependencyInjection.Tests/Generics/StreamRequestHandlers/StreamReturnGenericRequestHandler.cs#L10
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|