Skip to content

Fix compilation warnings #403

Fix compilation warnings

Fix compilation warnings #403

Triggered via pull request December 22, 2023 07:46
Status Success
Total duration 4m 40s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Lint & Tests
45s
Lint & Tests
Matrix: Integrations Tests
Publish to NuGet
0s
Publish to NuGet
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Lint & Tests: Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'ManagementClient' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Lint & Tests: Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'RabbitmqVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Lint & Tests: Source/EasyNetQ.Management.Client.IntegrationTests/ManagementClientTests.cs#L109
Argument of type 'Dictionary<string, object>' cannot be used for parameter 'Arguments' of type 'IReadOnlyDictionary<string, object?>' in 'QueueInfo.QueueInfo(string Name, bool AutoDelete = false, bool Durable = true, IReadOnlyDictionary<string, object?>? Arguments = null)' due to differences in the nullability of reference types.
Integrations Tests (3.10): Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'ManagementClient' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integrations Tests (3.10): Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'RabbitmqVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integrations Tests (3.10): Source/EasyNetQ.Management.Client.IntegrationTests/ManagementClientTests.cs#L109
Argument of type 'Dictionary<string, object>' cannot be used for parameter 'Arguments' of type 'IReadOnlyDictionary<string, object?>' in 'QueueInfo.QueueInfo(string Name, bool AutoDelete = false, bool Durable = true, IReadOnlyDictionary<string, object?>? Arguments = null)' due to differences in the nullability of reference types.
Integrations Tests (3.11): Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'ManagementClient' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integrations Tests (3.11): Source/EasyNetQ.Management.Client.IntegrationTests/RabbitMQFixture.cs#L19
Non-nullable property 'RabbitmqVersion' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Integrations Tests (3.11): Source/EasyNetQ.Management.Client.IntegrationTests/ManagementClientTests.cs#L109
Argument of type 'Dictionary<string, object>' cannot be used for parameter 'Arguments' of type 'IReadOnlyDictionary<string, object?>' in 'QueueInfo.QueueInfo(string Name, bool AutoDelete = false, bool Durable = true, IReadOnlyDictionary<string, object?>? Arguments = null)' due to differences in the nullability of reference types.