Update dependency StyleCop.Analyzers to 1.2.0-beta.556 #42
pull-requests.yml
on: pull_request
build-test-pull-request
27s
Annotations
10 errors
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L20
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L44
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L32
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L37
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L58
Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L38
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L43
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L72
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L77
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|