v2.5 减少输出目标,加快编译速度,避免不同目标输出的版本不同 #33
Annotations
1 error and 20 warnings
test
Process completed with exit code 1.
|
test:
NewLife.Remoting/IApiSession.cs#L56
Cannot convert null literal to non-nullable reference type.
|
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/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/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/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/IApiSession.cs#L56
Cannot convert null literal to non-nullable reference type.
|
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).
|