Skip to content

异常响应才有code #36

异常响应才有code

异常响应才有code #36

Triggered via push November 9, 2023 04:18
Status Success
Total duration 40s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: NewLife.Remoting/Http/HttpCodec.cs#L151
Nullability of reference types in type of parameter 'value' of 'void HttpMessage.Payload.set' doesn't match implicitly implemented member 'void IMessage.Payload.set' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiHost.cs#L17
Nullability of reference types in return type of 'IEncoder? ApiHost.Encoder.get' doesn't match implicitly implemented member 'IEncoder IApiHost.Encoder.get' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiServer.cs#L179
Nullability of reference types in type of parameter 'reason' of 'void ApiServer.Stop(string reason)' doesn't match implicitly implemented member 'void IServer.Stop(string? reason)' (possibly because of nullability attributes).
test: NewLife.Remoting/IApiSession.cs#L56
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/ApiNetServer.cs#L12
Nullability of reference types in return type of 'IApiHost? ApiNetServer.Host.get' doesn't match implicitly implemented member 'IApiHost IApiServer.Host.get' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L79
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L62
Nullability of reference types in return type of 'IDictionary<string, object> ApiNetSession.Parameters.get' doesn't match implicitly implemented member 'IDictionary<string, object?> IApiSession.Parameters.get'.
test: NewLife.Remoting/ApiNetServer.cs#L62
Nullability of reference types in type of parameter 'value' of 'void ApiNetSession.Parameters.set' doesn't match implicitly implemented member 'void IApiSession.Parameters.set'.
test: NewLife.Remoting/ApiNetServer.cs#L79
Nullability of reference types in type of parameter 'value' of 'void ApiNetSession.this[string key].set' doesn't match implicitly implemented member 'void IExtend.this[string key].set' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L161
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/HttpCodec.cs#L151
Nullability of reference types in type of parameter 'value' of 'void HttpMessage.Payload.set' doesn't match implicitly implemented member 'void IMessage.Payload.set' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiHost.cs#L17
Nullability of reference types in return type of 'IEncoder? ApiHost.Encoder.get' doesn't match implicitly implemented member 'IEncoder IApiHost.Encoder.get' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L12
Nullability of reference types in return type of 'IApiHost? ApiNetServer.Host.get' doesn't match implicitly implemented member 'IApiHost IApiServer.Host.get' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L79
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L62
Nullability of reference types in return type of 'IDictionary<string, object> ApiNetSession.Parameters.get' doesn't match implicitly implemented member 'IDictionary<string, object?> IApiSession.Parameters.get'.
test: NewLife.Remoting/ApiNetServer.cs#L62
Nullability of reference types in type of parameter 'value' of 'void ApiNetSession.Parameters.set' doesn't match implicitly implemented member 'void IApiSession.Parameters.set'.
test: NewLife.Remoting/ApiNetServer.cs#L79
Nullability of reference types in type of parameter 'value' of 'void ApiNetSession.this[string key].set' doesn't match implicitly implemented member 'void IExtend.this[string key].set' (possibly because of nullability attributes).
test: NewLife.Remoting/ApiNetServer.cs#L161
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/ApiServer.cs#L179
Nullability of reference types in type of parameter 'reason' of 'void ApiServer.Stop(string reason)' doesn't match implicitly implemented member 'void IServer.Stop(string? reason)' (possibly because of nullability attributes).
test: NewLife.Remoting/IApiSession.cs#L56
Cannot convert null literal to non-nullable reference type.