Skip to content

Add global options

Add global options #67

Triggered via pull request November 4, 2024 22:49
Status Failure
Total duration 35s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
build
Alias '_customComparer_global' not found
build
The modifier 'private' is not valid for this item
build
The modifier 'readonly' is not valid for this item
build
Alias '_customComparer_global' not found
build
The modifier 'private' is not valid for this item
build
The modifier 'readonly' is not valid for this item
build
Alias '_customComparer_global' not found
build
The modifier 'private' is not valid for this item
build
The modifier 'readonly' is not valid for this item
build
The type name 'Default' does not exist in the type 'CustomEquality.Comparer1'
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Generator.Equals/Models/EqualityTypeModel.cs#L24
Converting null literal or possible null value to non-nullable type.
build: Generator.Equals/ContainingTypesBuilder.cs#L70
Call System.IDisposable.Dispose on object created by 'new StringWriter(sb)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: Generator.Equals/EqualsGenerator.cs#L39
Member 'Execute2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: Generator.Equals/EqualityMemberModelTransformer.cs#L65
The behavior of 'Convert.ToInt64(object)' could vary based on the current user's locale settings. Replace this call in 'EqualityMemberModelTransformer.BuildEqualityModel(ISymbol, ITypeSymbol, AttributesMetadata, bool)' with a call to 'Convert.ToInt64(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build: Generator.Equals/Extensions/SymbolHelpers.cs#L92
In externally visible method 'bool SymbolHelpers.IsString(ITypeSymbol typeSymbol)', validate parameter 'typeSymbol' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Generator.Equals/Models/EqualityTypeModel.cs#L24
Converting null literal or possible null value to non-nullable type.
build: Generator.Equals/ContainingTypesBuilder.cs#L70
Call System.IDisposable.Dispose on object created by 'new StringWriter(sb)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: Generator.Equals/EqualsGenerator.cs#L39
Member 'Execute2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: Generator.Equals/EqualityMemberModelTransformer.cs#L65
The behavior of 'Convert.ToInt64(object)' could vary based on the current user's locale settings. Replace this call in 'EqualityMemberModelTransformer.BuildEqualityModel(ISymbol, ITypeSymbol, AttributesMetadata, bool)' with a call to 'Convert.ToInt64(object, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build: Generator.Equals/Extensions/SymbolHelpers.cs#L92
In externally visible method 'bool SymbolHelpers.IsString(ITypeSymbol typeSymbol)', validate parameter 'typeSymbol' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)