Skip to content

Enable Nullable in Core and Service Activator #4543

Enable Nullable in Core and Service Activator

Enable Nullable in Core and Service Activator #4543

Triggered via pull request September 18, 2024 00:22
@preardonpreardon
synchronize #3294
nullables
Status Failure
Total duration 14m 43s
Artifacts

codeql-analysis.yml

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

Annotations

10 errors and 10 warnings
Analyze (csharp): tests/Paramore.Brighter.Kafka.Tests/MessagingGateway/When_converting_kafkaheader_to_brighterheader.cs#L20
The best overload for 'MessageHeader' does not have a parameter named 'id'
Analyze (csharp): tests/Paramore.Brighter.Kafka.Tests/MessagingGateway/When_converting_brighterheader_to_kafkaheader.cs#L21
The best overload for 'MessageHeader' does not have a parameter named 'id'
Analyze (csharp): tests/Paramore.Brighter.Kafka.Tests/MessagingGateway/When_converting_kafkaheader_to_brighterheader.cs#L20
The best overload for 'MessageHeader' does not have a parameter named 'id'
Analyze (csharp): tests/Paramore.Brighter.Kafka.Tests/MessagingGateway/When_converting_brighterheader_to_kafkaheader.cs#L21
The best overload for 'MessageHeader' does not have a parameter named 'id'
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v6.0'. Ensure that restore has run and that you have included 'net60' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter.ServiceActivator/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v6.0'. Ensure that restore has run and that you have included 'net60' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter.ServiceActivator/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter.MessagingGateway.RMQ/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v6.0'. Ensure that restore has run and that you have included 'net60' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/Brighter/Brighter/src/Paramore.Brighter.MessagingGateway.RMQ/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
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/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/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/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.
Analyze (csharp): samples/WebAPI/WebAPI_Dapper/SalutationApp/Handlers/GreetingMadeHandlerAsync.cs#L42
Converting null literal or possible null value to non-nullable type.