Skip to content

Code clean

Code clean #16

Triggered via push January 30, 2025 09:10
Status Success
Total duration 1m 12s
Artifacts 1
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build (Release): v2rayN/ServiceLib/Handler/SysProxy/ProxySettingWindows.cs#L72
The variable 'ex' is declared but never used
build (Release): v2rayN/ServiceLib/ViewModels/StatusBarViewModel.cs#L314
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L39
This call site is reachable on all platforms. 'RegistryKey.DeleteValue(string, bool)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L36
This call site is reachable on all platforms. 'RegistryKey.CreateSubKey(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L36
This call site is reachable on all platforms. 'Registry.CurrentUser' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L52
This call site is reachable on all platforms. 'RegistryKey.Close()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L43
This call site is reachable on all platforms. 'RegistryKey.SetValue(string?, object)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Handler/AutoStartupHandler.cs#L93
This call site is reachable on all platforms. 'WindowsIdentity.GetCurrent()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Handler/AutoStartupHandler.cs#L93
This call site is reachable on all platforms. 'WindowsIdentity.Name' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
build (Release): v2rayN/ServiceLib/Common/WindowsUtils.cs#L26
This call site is reachable on all platforms. 'RegistryKey.Close()' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

Artifacts

Produced during runtime
Name Size
v2rayN-windows-desktop
106 MB