Skip to content

net8.0 (#118)

net8.0 (#118) #148

Triggered via push November 17, 2023 16:24
Status Success
Total duration 12m 14s
Artifacts

codeql.yml

on: push
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
Analyze (csharp): ShortDev.Networking/EndianWriter.cs#L12
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianWriter.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianReader.cs#L12
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianReader.cs#L13
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): ShortDev.Networking/EndianBuffer.cs#L7
EndianBuffer should override Equals (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)
Analyze (csharp): ShortDev.Networking/EndianBuffer.cs#L7
EndianBuffer should override the equality (==) and inequality (!=) operators (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)
Analyze (csharp): ShortDev.Networking/BinaryDebug.cs#L15
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'ShortDev.Networking.BinaryDebug.PrintContent(System.ReadOnlySpan<byte>)' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
Analyze (csharp): ShortDev.Networking/EndianBuffer.cs#L19
In externally visible method 'EndianBuffer.EndianBuffer(byte[] data)', validate parameter 'data' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): ShortDev.Networking/EndianReader.cs#L136
In externally visible method 'string EndianReader.ReadStringWithLength(Encoding encoding)', validate parameter 'encoding' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp): ShortDev.Networking/EndianWriter.cs#L144
In externally visible method 'void EndianWriter.Write(string value, Encoding encoding)', validate parameter 'encoding' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']