CodeQL #307
Annotations
1 error and 10 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/Helper/FileSystemHelper.cs#L84
'SHA1Managed' is obsolete: 'Derived cryptographic types are obsolete. Use the Create method on the base type instead.' (https://aka.ms/dotnet-warnings/SYSLIB0021)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/Helper/FileSystemHelper.cs#L84
'SHA1Managed' is obsolete: 'Derived cryptographic types are obsolete. Use the Create method on the base type instead.' (https://aka.ms/dotnet-warnings/SYSLIB0021)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/Helper/ZipFileHelper.cs#L29
Avoid inexact read with 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L85
This call site is reachable on all platforms. 'RegistryKey.GetValue(string?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L49
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)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L40
This call site is reachable on all platforms. 'RegistryKey.DeleteSubKeyTree(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L83
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)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L83
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)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L49
This call site is reachable on all platforms. 'RegistryKey.DeleteSubKeyTree(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
Analyze (csharp):
Shared Libraries/SimpleJournal.Common/FileAssociations/FileAssociations.cs#L40
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)
|