Skip to content

ci: update CI/workflow #2

ci: update CI/workflow

ci: update CI/workflow #2

Triggered via pull request November 25, 2023 04:03
Status Success
Total duration 2m 31s
Artifacts

codeql-analysis.yml

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

Annotations

10 warnings
Analyze (csharp): src/Rebus.Correlate/DependencyResolverAdapter.cs#L47
Make 'DependencyResolverAdapter' sealed (a breaking change if this class has previously shipped), implement the method non-explicitly, or implement a new method that exposes the functionality of 'Rebus.Injection.IResolutionContext.Has' and is visible to derived classes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033)
Analyze (csharp): src/Rebus.Correlate/DependencyResolverAdapter.cs#L47
Make 'DependencyResolverAdapter' sealed (a breaking change if this class has previously shipped), implement the method non-explicitly, or implement a new method that exposes the functionality of 'Rebus.Injection.IResolutionContext.Has' and is visible to derived classes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033)
Analyze (csharp): src/Rebus.Correlate/DependencyResolverAdapter.cs#L47
Make 'DependencyResolverAdapter' sealed (a breaking change if this class has previously shipped), implement the method non-explicitly, or implement a new method that exposes the functionality of 'Rebus.Injection.IResolutionContext.Has' and is visible to derived classes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033)
Analyze (csharp): test/Rebus.Correlate.Tests/DependencyResolverAdapterTests.cs#L16
Dereference of a possibly null reference.
Analyze (csharp): test/Rebus.Correlate.Tests/DependencyResolverAdapterTests.cs#L14
Non-nullable field '_optionalResolve' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Analyze (csharp): test/Rebus.Correlate.Tests/CorrelateConfigurationExtensionsTests.cs#L83
Converting null literal or possible null value to non-nullable type.
Analyze (csharp): test/Rebus.Correlate.Tests/CorrelateConfigurationExtensionsTests.cs#L85
Possible null reference argument for parameter 'configurer' in 'OptionsConfigurer CorrelateConfigurationExtensions.EnableCorrelate(OptionsConfigurer configurer, DependencyResolverAdapter dependencyResolverAdapter)'.
Analyze (csharp): test/Rebus.Correlate.Tests/DependencyResolverAdapterTests.cs#L22
Converting null literal or possible null value to non-nullable type.
Analyze (csharp): test/Rebus.Correlate.Tests/DependencyResolverAdapterTests.cs#L25
Possible null reference argument for parameter 'optionalResolve' in 'DependencyResolverAdapter.DependencyResolverAdapter(Func<Type, object?> optionalResolve)'.