Skip to content

feat: add TaskCompletionSource #429

feat: add TaskCompletionSource

feat: add TaskCompletionSource #429

Triggered via push April 16, 2024 17:22
Status Failure
Total duration 1m 40s
Artifacts

default.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 10 warnings
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L35
'Task' does not contain a constructor that takes 0 arguments
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L65
The best overload for 'Task' does not have a parameter named 'promiseStyle'
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L92
The name 'ThrowHelper' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L92
The name 'ExceptionResource' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L110
The name 'ThrowHelper' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L110
The name 'ExceptionResource' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L130
The name 'ThrowHelper' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L130
The name 'ExceptionArgument' does not exist in the current context
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L133
'Task' does not contain a definition for 'TrySetException' and no accessible extension method 'TrySetException' accepting a first argument of type 'Task' could be found (are you missing a using directive or an assembly reference?)
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L136
'Task' does not contain a definition for 'SpinUntilCompleted' and no accessible extension method 'SpinUntilCompleted' accepting a first argument of type 'Task' could be found (are you missing a using directive or an assembly reference?)
Running tests on windows-latest
The job was canceled because "ubuntu-latest" failed.
Running tests on windows-latest
The operation was canceled.
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/Helpers/TaskCompletionSource.cs#L164
Dereference of a possibly null reference.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L171
Possible null reference argument for parameter 'item' in 'void List<Exception>.Add(Exception item)'.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
Dereference of a possibly null reference.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L171
Possible null reference argument for parameter 'item' in 'void List<Exception>.Add(Exception item)'.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L164
Dereference of a possibly null reference.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskCompletionSource.cs#L171
Possible null reference argument for parameter 'item' in 'void List<Exception>.Add(Exception item)'.
Running tests on ubuntu-latest: src/WeihanLi.Common/Helpers/TaskHelper.cs#L19
Possible null reference assignment.