CodeQL #249
Annotations
12 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: github/codeql-action/init@v2, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Initialize CodeQL
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Build:
src/Correlate.Abstractions/OnException.cs#L7
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/OnException.cs#L13
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/IActivity.cs#L18
Rename virtual/interface member IActivity.Stop() so that it no longer conflicts with the reserved language keyword 'Stop'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Build:
src/Correlate.Abstractions/OnException.cs#L7
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/OnException.cs#L13
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/IActivity.cs#L18
Rename virtual/interface member IActivity.Stop() so that it no longer conflicts with the reserved language keyword 'Stop'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Build:
src/Correlate.Abstractions/OnException.cs#L7
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/OnException.cs#L13
Rename type name OnException so that it does not end in 'Exception' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
Build:
src/Correlate.Abstractions/IActivity.cs#L18
Rename virtual/interface member IActivity.Stop() so that it no longer conflicts with the reserved language keyword 'Stop'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
|
Build:
src/Correlate.Core/Http/Extensions/HeaderDictionaryExtensions.cs#L14
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
|
Loading