Skip to content

refactor: smash together analyzers and code-fixes #346

refactor: smash together analyzers and code-fixes

refactor: smash together analyzers and code-fixes #346

Triggered via push October 26, 2024 12:22
Status Success
Total duration 3m 38s
Artifacts

codeql.yml

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

Annotations

12 warnings
Analyze (csharp)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@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/
Analyze (csharp)
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/
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L13
Dereference of a possibly null reference.
Analyze (csharp): src/TypealizeR.Analyzers/TypealizeRCodeFixProvider.cs#L54
Possible null reference argument for parameter 'root' in 'ICodeFixer CodeFixerFactory.Invoke(SyntaxNode root, Diagnostic diagnostic)'.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L24
Possible null reference return.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L65
Dereference of a possibly null reference.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerAnalyzer.cs#L10
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L13
Dereference of a possibly null reference.
Analyze (csharp): src/TypealizeR.Analyzers/TypealizeRCodeFixProvider.cs#L54
Possible null reference argument for parameter 'root' in 'ICodeFixer CodeFixerFactory.Invoke(SyntaxNode root, Diagnostic diagnostic)'.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L24
Possible null reference return.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerCodeFixer.cs#L65
Dereference of a possibly null reference.
Analyze (csharp): src/TypealizeR.Analyzers/UseIndexerAnalyzer.cs#L10
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn-analyzers/blob/main/docs/rules/RS1038.md)