CodeQL #4718
Annotations
10 warnings
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Entities/Person.cs#L13
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Responses/FindPersonsGreetings.cs#L7
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Responses/FindPersonsGreetings.cs#L8
Non-nullable property 'Greetings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Entities/Greeting.cs#L11
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/FindPersonByNameHandlerAsync.cs#L36
Converting null literal or possible null value to non-nullable type.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/FindPersonByNameHandlerAsync.cs#L38
Possible null reference argument for parameter 'person' in 'FindPersonResult.FindPersonResult(Person person)'.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/AddGreetingHandlerAsync.cs#L52
Converting null literal or possible null value to non-nullable type.
|
Analyze (csharp):
samples/WebAPI/WebAPI_Dapper/GreetingsApp/Handlers/DeletePersonHandlerAsync.cs#L44
Converting null literal or possible null value to non-nullable type.
|
Analyze (csharp):
samples/TaskQueue/ASBTaskQueue/Greetings/Ports/Mappers/AddGreetingMessageMapper.cs#L9
Nullability of reference types in type of parameter 'value' of 'void AddGreetingMessageMapper.Context.set' doesn't match implicitly implemented member 'void IAmAMessageMapper<AddGreetingCommand>.Context.set' (possibly because of nullability attributes).
|
Analyze (csharp):
samples/TaskQueue/ASBTaskQueue/Greetings/Ports/Mappers/GreetingEventAsyncMessageMapper.cs#L9
Nullability of reference types in type of parameter 'value' of 'void GreetingEventAsyncMessageMapper.Context.set' doesn't match implicitly implemented member 'void IAmAMessageMapper<GreetingAsyncEvent>.Context.set' (possibly because of nullability attributes).
|