Skip to content

Remove most remaining analyzer and nullable warnings #269

Remove most remaining analyzer and nullable warnings

Remove most remaining analyzer and nullable warnings #269

Triggered via push July 4, 2025 14:17
Status Failure
Total duration 6m 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: src/RepoDb/QueryField/ParseExpression.cs#L225
Possible null reference argument for parameter 'name' in 'object? QueryField.ToEnumValue(Type enumType, string name)'.
build: src/RepoDb/Mappers/PropertyMapper.cs#L248
Possible null reference return.
build: src/RepoDb/Mappers/IdentityMapper.cs#L183
Possible null reference return.
build: src/RepoDb/Mappers/ClassMapper.cs#L114
Possible null reference return.
build: src/RepoDb/Mappers/PrimaryMapper.cs#L183
Possible null reference return.
build: src/RepoDb/DataEntityDataReader.cs#L117
Possible null reference argument for parameter 'dictionary' in 'IEnumerable<Field> DataEntityDataReader<TEntity>.GetFields(IDictionary<string, object> dictionary)'.
build: src/RepoDb/StatementBuilders/BaseStatementBuilder.cs#L855
Method CreateUpdate passes 'updatableFields' as the paramName argument to a EmptyException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build: src/RepoDb/Reflection/Compiler.DataEntityPropertySetter.cs#L67
Dereference of a possibly null reference.
build: src/RepoDb/StatementBuilders/BaseStatementBuilder.cs#L855
Method CreateUpdate passes 'updatableFields' as the paramName argument to a EmptyException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build: src/RepoDb/Reflection/Compiler.DataEntityPropertySetter.cs#L67
Dereference of a possibly null reference.