CodeQL #314
Annotations
10 warnings
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#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#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#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#L87
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)
|
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/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/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)
|