refactor: update TaskCompletionSource implementation #431
Annotations
23 errors and 20 warnings
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L70
Cannot implicitly convert type 'object' to 'TEvent'
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L93
The name 'ThrowHelper' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L93
The name 'ExceptionResource' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L111
The name 'ThrowHelper' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L111
The name 'ExceptionResource' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
The name 'ThrowHelper' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
The name 'ExceptionResource' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L209
The name 'ThrowHelper' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L209
The name 'ExceptionResource' does not exist in the current context
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L70
Cannot implicitly convert type 'object' to 'TEvent'
|
Running tests on windows-latest
The job was canceled because "ubuntu-latest" failed.
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L93
The name 'ThrowHelper' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L70
Cannot implicitly convert type 'object' to 'TEvent'
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L93
The name 'ExceptionResource' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L111
The name 'ThrowHelper' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L111
The name 'ExceptionResource' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
The name 'ThrowHelper' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
The name 'ExceptionResource' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L70
Cannot implicitly convert type 'object' to 'TEvent'
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L209
The name 'ThrowHelper' does not exist in the current context
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L209
The name 'ExceptionResource' does not exist in the current context
|
Running tests on macOS-latest
The job was canceled because "ubuntu-latest" failed.
|
Running tests on macOS-latest
The operation was canceled.
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on ubuntu-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on windows-latest:
src/WeihanLi.Common/Event/EventQueueInMemory.cs#L62
Async-iterator 'EventQueueInMemory.ReadAllAsync<TEvent>(string, 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
|
Running tests on windows-latest:
src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
|
Running tests on windows-latest:
src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresDynamicCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
|
Running tests on windows-latest:
src/WeihanLi.Common/DependencyInjection/ServiceContainer.cs#L274
Member 'WeihanLi.Common.DependencyInjection.ServiceContainer.GetService(Type)' with 'RequiresUnreferencedCodeAttribute' implements interface member 'System.IServiceProvider.GetService(Type)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|