Skip to content

Update testproject to net8 and c# to 12 #120

Update testproject to net8 and c# to 12

Update testproject to net8 and c# to 12 #120

Triggered via pull request December 1, 2023 12:35
Status Success
Total duration 3m 22s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

38 warnings
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L205
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L206
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L14
Type 'Foo' 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)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L8
Type 'Foo' 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)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L205
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L206
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L14
Type 'Foo' 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)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L8
Type 'Foo' 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)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L205
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L206
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L8
Type 'Foo' 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)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L14
Type 'Foo' 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)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L205
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L206
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L214
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L8
Type 'Foo' 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)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L14
Type 'Foo' 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)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/GuardTests.cs#L15
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L34
Converting null literal or possible null value to non-nullable type.