Upgraded to .NET 8 #581
Annotations
5 errors and 20 warnings
build (macos-latest)
Process completed with exit code 1.
|
build (windows-latest)
The job was canceled because "macos-latest" failed.
|
build (windows-latest)
The operation was canceled.
|
build (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
build (ubuntu-latest)
The operation was canceled.
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L50
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L51
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFile' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/FilePanels/TabsListViewModelTests.cs#L168
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L97
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L98
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateFileByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L122
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L123
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectory' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L160
The literal or constant value Name should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
tests/Camelot.ViewModels.Tests/Factories/FileSystemNodeViewModelFactoryTests.cs#L161
The literal or constant value FullPath should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'TestCreateDirectoryByPath' on type 'FileSystemNodeViewModelFactoryTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
|
build (macos-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L28
This call site is reachable on all platforms. 'BitmapData.Width' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L94
This call site is reachable on all platforms. 'Icon.FromHandle(nint)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/WinApi/IconExtractor.cs#L89
This call site is reachable on all platforms. 'Icon.FromHandle(nint)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L30
This call site is reachable on all platforms. 'BitmapData.Stride' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L28
This call site is reachable on all platforms. 'BitmapData.Width' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L27
This call site is reachable on all platforms. 'BitmapData.Scan0' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L21
This call site is reachable on all platforms. 'Bitmap' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L24
This call site is reachable on all platforms. 'PixelFormat.Format32bppArgb' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L22
This call site is reachable on all platforms. 'Bitmap.LockBits(Rectangle, ImageLockMode, PixelFormat)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L32
This call site is reachable on all platforms. 'Image.Dispose()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
build (ubuntu-latest):
src/Camelot.ViewModels.Windows/ShellIcons/SystemImageToAvaloniaBitmapConverter.cs#L31
This call site is reachable on all platforms. 'Bitmap.UnlockBits(BitmapData)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|