Skip to content

Fix warnings

Fix warnings #847

Triggered via push November 28, 2024 12:32
Status Failure
Total duration 1m 47s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Build ubuntu-latest
Process completed with exit code 1.
Build windows-latest
The job was canceled because "ubuntu-latest" failed.
Build windows-latest
The operation was canceled.
Build macos-latest
The job was canceled because "ubuntu-latest" failed.
Build macos-latest
The operation was canceled.
Build ubuntu-latest: src/Dock.Model/FactoryBase.Dockable.cs#L356
Possible null reference argument for parameter 'dock' in 'void FactoryBase.RemoveAllVisibleDockables(IDock dock)'.
Build ubuntu-latest: src/Dock.Model/FactoryBase.Dockable.cs#L530
Converting null literal or possible null value to non-nullable type.
Build ubuntu-latest: src/Dock.Model/FactoryBase.Dockable.cs#L532
Possible null reference argument for parameter 'dock' in 'void FactoryBase.AddVisibleDockable(IDock dock, IDockable dockable)'.
Build ubuntu-latest: src/Avalonia.Controls.Recycling/ControlRecycling.cs#L95
Possible null reference argument for parameter 'data' in 'void ControlRecycling.Add(object data, object control)'.
Build ubuntu-latest: src/Avalonia.Controls.Recycling/ControlRecycling.cs#L95
Possible null reference argument for parameter 'data' in 'void ControlRecycling.Add(object data, object control)'.
Build ubuntu-latest: src/Avalonia.Controls.Recycling/ControlRecycling.cs#L95
Possible null reference argument for parameter 'data' in 'void ControlRecycling.Add(object data, object control)'.
Build ubuntu-latest: samples/Notepad/ViewModels/MainWindowViewModel.cs#L120
'OpenFileDialog' is obsolete: 'Use Window.StorageProvider API or TopLevel.StorageProvider API'
Build ubuntu-latest: samples/Notepad/ViewModels/MainWindowViewModel.cs#L122
'FileDialogFilter' is obsolete: 'Use Window.StorageProvider API or TopLevel.StorageProvider API'
Build ubuntu-latest: samples/Notepad/ViewModels/MainWindowViewModel.cs#L173
'SaveFileDialog' is obsolete: 'Use Window.StorageProvider API or TopLevel.StorageProvider API'
Build ubuntu-latest: samples/Notepad/ViewModels/MainWindowViewModel.cs#L175
'FileDialogFilter' is obsolete: 'Use Window.StorageProvider API or TopLevel.StorageProvider API'