WinGet Code Handling Modifications #1240
Annotations
3 errors and 10 warnings
test-codebase:
src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs#L165
'IPackage' does not contain a definition for 'Version' and no accessible extension method 'Version' accepting a first argument of type 'IPackage' could be found (are you missing a using directive or an assembly reference?)
|
test-codebase:
src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs#L165
'IPackage' does not contain a definition for 'Version' and no accessible extension method 'Version' accepting a first argument of type 'IPackage' could be found (are you missing a using directive or an assembly reference?)
|
test-codebase
Process completed with exit code 1.
|
test-codebase:
src/UniGetUI.Core.Data/CoreData.cs#L73
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L11
Non-nullable property 'InterfaceType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L16
Non-nullable property 'ProjectedClassType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L21
Non-nullable property 'Clsids' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L33
Possible null reference return.
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L15
Member 'SlowMethod2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L21
Member 'SlowMethod3' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L11
Type 'TestClass' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
test-codebase:
src/UniGetUI.Core.Tools/DWMThreadHelper.cs#L146
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
test-codebase:
src/UniGetUI.Core.Tools/Tools.cs#L343
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|