Skip to content

Update to .net 8 and cleanup some code #44

Update to .net 8 and cleanup some code

Update to .net 8 and cleanup some code #44

Triggered via push December 16, 2023 15:12
Status Success
Total duration 1m 6s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: CleanAspCore.Api.Tests/Features/Employees/EmployeeControllerTests.cs#L44
Dereference of a possibly null reference.
build: CleanAspCore.Api.Tests/Features/Employees/EmployeeControllerTests.cs#L45
Dereference of a possibly null reference.
build: CleanAspCore.Api.Tests/Helpers/RentedDatabase.cs#L24
Change RentedDatabase.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CleanAspCore.Api.Tests/Helpers/TestWebApi.cs#L58
Change TestWebApi.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CleanAspCore.Api.Tests/Startup.cs#L21
Member 'RunWithoutSynchronizationContext' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: CleanAspCore.Api.Tests/Features/Employees/EmployeeControllerTests.cs#L44
Dereference of a possibly null reference.
build: CleanAspCore.Api.Tests/Features/Employees/EmployeeControllerTests.cs#L45
Dereference of a possibly null reference.
build: CleanAspCore.Api.Tests/Helpers/RentedDatabase.cs#L24
Change RentedDatabase.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CleanAspCore.Api.Tests/Helpers/TestWebApi.cs#L58
Change TestWebApi.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CleanAspCore.Api.Tests/Startup.cs#L21
Member 'RunWithoutSynchronizationContext' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)