CodeQL #80
Annotations
10 warnings
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapper.cs#L22
Possible null reference return.
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapper.cs#L13
Possible null reference argument for parameter 'topic' in 'MessageHeader.MessageHeader(Id messageId, RoutingKey topic, MessageType messageType, Uri? source = null, string? type = null, DateTimeOffset? timeStamp = null, Id? correlationId = null, RoutingKey? replyTo = null, ContentType? contentType = null, PartitionKey? partitionKey = null, Uri? dataSchema = null, string? subject = null, int handledCount = 0, TimeSpan? delayed = null, TraceParent? traceParent = null, TraceState? traceState = null, Baggage? baggage = null)'.
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapperAsync.cs#L10
Non-nullable property 'Context' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapperAsync.cs#L22
Nullability of reference types in value of type 'Task<MyEvent?>' doesn't match target type 'Task<MyEvent>'.
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapperAsync.cs#L13
Possible null reference argument for parameter 'topic' in 'MessageHeader.MessageHeader(Id messageId, RoutingKey topic, MessageType messageType, Uri? source = null, string? type = null, DateTimeOffset? timeStamp = null, Id? correlationId = null, RoutingKey? replyTo = null, ContentType? contentType = null, PartitionKey? partitionKey = null, Uri? dataSchema = null, string? subject = null, int handledCount = 0, TimeSpan? delayed = null, TraceParent? traceParent = null, TraceState? traceState = null, Baggage? baggage = null)'.
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapperAsync.cs#L10
Nullability of reference types in type of parameter 'value' of 'void MyEventMessageMapperAsync.Context.set' doesn't match implicitly implemented member 'void IAmAMessageMapperAsync<MyEvent>.Context.set' (possibly because of nullability attributes).
|
|
Analyze (csharp):
tests/Paramore.Brighter.Quartz.Tests/TestDoubles/MyEventMessageMapper.cs#L10
Nullability of reference types in type of parameter 'value' of 'void MyEventMessageMapper.Context.set' doesn't match implicitly implemented member 'void IAmAMessageMapper<MyEvent>.Context.set' (possibly because of nullability attributes).
|
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/SalutationApp/Handlers/GreetingMadeHandlerAsync.cs#L47
Possible null reference argument for parameter 'cnn' in 'Task<int> SqlMapper.ExecuteAsync(IDbConnection cnn, string sql, object? param = null, IDbTransaction? transaction = null, int? commandTimeout = null, CommandType? commandType = null)'.
|
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/SalutationApp/Handlers/GreetingMadeHandlerAsync.cs#L42
Converting null literal or possible null value to non-nullable type.
|
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/SalutationApp/Entities/Salutation.cs#L11
Non-nullable property 'Greeting' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|