Update dotnet-desktop.yml #2
Annotations
1 error and 10 warnings
build (Release)
Process completed with exit code 1.
|
build (Release):
src/ChatBox.Logger/ChatBoxLogger.cs#L18
Nullability of reference types in type of parameter 'exception' of 'void ChatBoxLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
|
build (Release):
src/ChatBox.Logger/ChatBoxLogger.cs#L14
Nullability in constraints for type parameter 'TState' of method 'ChatBoxLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
|
build (Release):
src/ChatBox.Logger/ChatBoxLogger.cs#L14
Possible null reference return.
|
build (Release):
src/ChatBox/Controls/WorkspaceHeader.axaml.cs#L18
Possible null reference assignment.
|
build (Release):
src/ChatBox/Controls/WorkspaceHeader.axaml.cs#L14
Non-nullable field 'chatMessageRepository' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build (Release):
src/ChatBox/Controls/WorkspaceHeader.axaml.cs#L21
Converting null literal or possible null value to non-nullable type.
|
build (Release):
src/ChatBox/Controls/WorkspaceHeader.axaml.cs#L21
Possible null reference return.
|
build (Release):
src/ChatBox/Views/MainView.axaml.cs#L25
Non-nullable field '_notificationManager' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
build (Release):
src/ChatBox/Views/MainView.axaml.cs#L41
Converting null literal or possible null value to non-nullable type.
|
build (Release):
src/ChatBox/Views/MainView.axaml.cs#L41
Possible null reference return.
|