Skip to content

Fixed warnings

Fixed warnings #651

Triggered via push September 3, 2024 15:42
Status Failure
Total duration 3m 11s
Artifacts

publish.yml

on: push
Build and Publish to Nuget.org
3m 0s
Build and Publish to Nuget.org
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Build and Publish to Nuget.org
Process completed with exit code 1.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable field '_menuBar' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable field '_title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/Menu.cs#L145
Non-nullable field '_host' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: UnitTests/Application/ApplicationTests.cs#L1202
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable field '_menuBar' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable field '_title' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/MenuItem.cs#L23
Non-nullable property 'Data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Publish to Nuget.org: Terminal.Gui/Views/Menu/Menu.cs#L145
Non-nullable field '_host' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build and Publish to Nuget.org: UnitTests/Application/ApplicationTests.cs#L1202
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)