CodeQL #163
Annotations
11 warnings
|
Analyze (csharp):
src/Synto/CSharpSyntaxQuoter.cs#L129
'token.Value' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
src/Synto.Bootstrap/CSharpSyntaxQuoter.cs#L136
'token.Value' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
examples/Synto.Examples/Program.cs#L53
Type 'Examples' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
|
Analyze (csharp):
examples/Synto.Examples/Program.cs#L196
Type 'Test7Class' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
|
Analyze (csharp):
examples/Synto.Examples/Program.cs#L196
'Examples.Test7Class<T1, T2>' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
|
|
Analyze (csharp):
src/Synto/Templating/Syntax.cs#L9
The type name Syntax conflicts in whole or in part with the namespace name 'Microsoft.CodeAnalysis.CSharp.Syntax'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
|
Analyze (csharp):
src/Synto/Templating/Syntax.cs#L7
The type name Syntax conflicts in whole or in part with the namespace name 'Microsoft.CodeAnalysis.CSharp.Syntax'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
|
Analyze (csharp):
src/Synto/CSharpSyntaxQuoter.cs#L159
'token.Value' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
src/Synto/CSharpSyntaxQuoter.cs#L129
'token.Value' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp):
src/Synto.Bootstrap/CSharpSyntaxQuoter.cs#L136
'token.Value' is never 'null'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
|
|
Analyze (csharp)
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|