feat: Add CI test build #452
Annotations
1 error and 10 warnings
Analyze (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "C:\hostedtoolcache\windows\CodeQL\2.15.3\x64\codeql\csharp\tools\autobuild.cmd". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Handler/RedirectHandler.cs#L43
Nullability of reference types in return type doesn't match overridden member.
|
|
Analyze (csharp):
ProjBobcat/ProjBobcat/DefaultComponent/Installer/ModPackInstaller/CurseForgeInstaller.cs#L73
The variable 'e' is declared but never used
|
Analyze (csharp):
ProjBobcat/ProjBobcat/DefaultComponent/Installer/ModPackInstaller/CurseForgeInstaller.cs#L166
The variable 'exception' is declared but never used
|
Analyze (csharp):
ProjBobcat/ProjBobcat/DefaultComponent/Launch/DefaultVersionLocator.cs#L153
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern 'System.Text.Json.JsonValueKind.Undefined' is not covered.
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Platforms/Windows/SystemInfoHelper.Windows.cs#L284
This call site is reachable on: 'Windows' all versions. 'PInvoke.IsWow64Process2(HANDLE, IMAGE_FILE_MACHINE*, IMAGE_FILE_MACHINE*)' is only supported on: 'windows' 10.0.10586 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Class/Helper/DeepJavaSearcher.cs#L68
This call site is reachable on all platforms. 'SystemInfoHelper.GetLogicalDrives()' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Class/Model/JvmRulesModel.cs#L21
This call site is reachable on all platforms. 'SystemInfoHelper.GetWindowsMajorVersion()' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Class/Helper/SystemInfoHelper.cs#L30
This call site is reachable on all platforms. 'SystemInfoHelper.IsRunningUnderTranslation(Process?)' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
ProjBobcat/ProjBobcat/Class/Helper/SystemInfoHelper.cs#L41
This call site is reachable on all platforms. 'SystemInfoHelper.GetWindowsCpuUsage()' is only supported on: 'Windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|