Skip to content

Upgrade C# language version to 14.0 #418

Upgrade C# language version to 14.0

Upgrade C# language version to 14.0 #418

Triggered via pull request November 12, 2025 03:09
Status Failure
Total duration 41s
Artifacts

build-and-test.yml

on: pull_request
Matrix: build-and-test
pack-and-publish
0s
pack-and-publish
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build-and-test-ubuntu-latest
Process completed with exit code 1.
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLoggerFactory.cs#L7
The type 'T' may not be a ref struct or a type parameter allowing ref structs in order to use it as parameter 'TCategoryName' in the generic type or method 'ILogger<TCategoryName>'
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLoggerFactory.cs#L7
The constraints for type parameter 'T' of method 'DummyLoggerFactory.CreateLogger<T>()' must match the constraints for type parameter 'T' of interface method 'ILoggerFactory.CreateLogger<T>()'. Consider using an explicit interface implementation instead.
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLogger.cs#L16
The type 'T' may not be a ref struct or a type parameter allowing ref structs in order to use it as parameter 'TCategoryName' in the generic type or method 'ILogger<TCategoryName>'
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLoggerFactory.cs#L7
The type 'T' may not be a ref struct or a type parameter allowing ref structs in order to use it as parameter 'TCategoryName' in the generic type or method 'ILogger<TCategoryName>'
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLoggerFactory.cs#L7
The constraints for type parameter 'T' of method 'DummyLoggerFactory.CreateLogger<T>()' must match the constraints for type parameter 'T' of interface method 'ILoggerFactory.CreateLogger<T>()'. Consider using an explicit interface implementation instead.
build-and-test-ubuntu-latest: AdvancedSharpAdbClient.Tests/Dummys/Logs/DummyLogger.cs#L16
The type 'T' may not be a ref struct or a type parameter allowing ref structs in order to use it as parameter 'TCategoryName' in the generic type or method 'ILogger<TCategoryName>'
build-and-test-windows-latest
The strategy configuration was canceled because "build-and-test.ubuntu-latest" failed
build-and-test-windows-latest
The operation was canceled.
build-and-test-macos-latest
The strategy configuration was canceled because "build-and-test.ubuntu-latest" failed
build-and-test-macos-latest
The operation was canceled.