Skip to content

Fix service scope validation compatibility with Microsoft DI #25

Fix service scope validation compatibility with Microsoft DI

Fix service scope validation compatibility with Microsoft DI #25

Triggered via pull request September 22, 2025 13:16
Status Success
Total duration 7m 0s
Artifacts

build-pr-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 1 notice
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationBindingTest.cs#L26
The literal or constant value "lemon-24" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'LoadBinding' on type 'ConfigurationBindingTest'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L26
The literal or constant value "lemon-24" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'LoadValue' on type 'ConfigurationValueTest'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L36
Field 'ValueConfigService.name' is never assigned to, and will always have its default value null
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationBindingTest.cs#L40
Field 'BindConfigService._config' is never assigned to, and will always have its default value null
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L33
Field 'ValueConfigService.age' is never assigned to, and will always have its default value 0
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L26
The literal or constant value "lemon-24" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'LoadValue' on type 'ConfigurationValueTest'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationBindingTest.cs#L26
The literal or constant value "lemon-24" should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'LoadBinding' on type 'ConfigurationBindingTest'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationBindingTest.cs#L40
Field 'BindConfigService._config' is never assigned to, and will always have its default value null
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L33
Field 'ValueConfigService.age' is never assigned to, and will always have its default value 0
build-and-test: tests/AspectCore.Extensions.Configuration.Tests/ConfigurationValueTest.cs#L36
Field 'ValueConfigService.name' is never assigned to, and will always have its default value null
build-and-test
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677