Skip to content

Setting keys will be stored on const strings #1540

Setting keys will be stored on const strings

Setting keys will be stored on const strings #1540

Triggered via pull request June 16, 2025 12:33
Status Failure
Total duration 3m 13s
Artifacts

dotnet-test.yml

on: pull_request
test-codebase
3m 5s
test-codebase
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
test-codebase
Process completed with exit code 1.
test-codebase: src/UniGetUI/App.xaml.cs#L102
'SecureSettings' does not contain a definition for 'ForceUserGSudo'
test-codebase: src/UniGetUI/App.xaml.cs#L102
'SecureSettings' does not contain a definition for 'ForceUserGSudo'
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/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L40
This call site is reachable on all platforms. 'MarshalGeneric<T>.FromAbi' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L39
This call site is reachable on all platforms. 'Marshal.GetIUnknownForObject(object)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
test-codebase: src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L29
This call site is reachable on all platforms. 'PInvoke.CoCreateInstance(in Guid, object, CLSCTX, in Guid, out object)' is only supported on: 'windows' 5.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
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/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/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L34
Possible null reference return.
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/UniGetUI.Core.Classes/TaskRecycler.cs#L95
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
test-codebase: src/UniGetUI.Core.Data/CoreData.cs#L64
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)