Skip to content

代码整理

代码整理 #57

Triggered via push May 6, 2024 11:14
Status Success
Total duration 49s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/ApiClient.cs#L50
Non-nullable property 'Local' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: NewLife.Remoting/Clients/RpcClientBase.cs#L45
Possible null reference return.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L65
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L67
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.
test: NewLife.Remoting/Clients/ClientBase.cs#L103
Dereference of a possibly null reference.
test: NewLife.Remoting/Clients/ClientBase.cs#L115
Dereference of a possibly null reference.
test: NewLife.Remoting/WsClient.cs#L244
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L245
Dereference of a possibly null reference.
test: NewLife.Remoting/WsClient.cs#L249
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/WsClient.cs#L244
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L245
Dereference of a possibly null reference.
test: NewLife.Remoting/WsClient.cs#L249
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L340
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L341
Dereference of a possibly null reference.
test: NewLife.Remoting/ApiClient.cs#L50
Non-nullable property 'Local' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: NewLife.Remoting/Clients/RpcClientBase.cs#L45
Possible null reference return.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L65
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L67
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.