Skip to content

protect invariant state #14

protect invariant state

protect invariant state #14

Triggered via pull request February 11, 2026 07:09
Status Failure
Total duration 1m 32s
Artifacts

gtc-domain-nuget.yml

on: pull_request
Matrix: NuGet CI
Matrix: NuGet CD
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
NuGet CI (10.x)
Process completed with exit code 1.
NuGet CI (10.x)
No files were found with the provided path: TestResults-10.x. No artifacts will be uploaded.
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Examples/RowLevelSecurityExample.cs#L103
Member 'Add' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Entities/SecuredEntityTests.cs#L290
Comparison made to same variable; did you mean to compare something else?
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Events/DomainDispatcherTests.cs#L25
Type 'ServiceProviderStub' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Events/DomainDispatcherTests.cs#L15
Type 'TestHandler' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Events/DomainDispatcherTests.cs#L8
Type 'TestEvent' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Entities/SecuredEntityExtensionsTests.cs#L9
Type 'TestSecuredEntity' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Examples/RowLevelSecurityExample.cs#L101
Member 'AllDocumentsIncludingDeleted' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Examples/RowLevelSecurityExample.cs#L108
Member 'SaveChangesAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Examples/RowLevelSecurityExample.cs#L103
Member 'Add' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
NuGet CI (10.x): src/Goodtocode.Domain.Tests/Entities/SecuredEntityTests.cs#L290
Comparison made to same variable; did you mean to compare something else?
NuGet CI (10.x)
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.