Skip to content

Change some Editorconfig rules for code styling #141

Change some Editorconfig rules for code styling

Change some Editorconfig rules for code styling #141

Triggered via pull request September 7, 2024 11:43
Status Success
Total duration 1m 40s
Artifacts

build-and-test.yml

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

Annotations

40 warnings
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/GuardTests.cs#L27
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build (macos-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L46
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
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/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/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 (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/DebugGuardTests.cs#L46
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build (ubuntu-latest, net8.0, -x64, false): tests/SharedInfrastructure.Tests/GuardTests.cs#L27
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
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/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#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 (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#L27
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
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#L46
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
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/GuardTests.cs#L27
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build (windows-latest, net8.0, -x64, true): tests/SharedInfrastructure.Tests/DebugGuardTests.cs#L46
Null should not be used for type parameter 'str' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
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#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#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#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)