Skip to content

Remove most remaining analyzer and nullable warnings #268

Remove most remaining analyzer and nullable warnings

Remove most remaining analyzer and nullable warnings #268

Triggered via push July 4, 2025 14:16
Status Failure
Total duration 3m 3s
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

9 errors and 10 warnings
build
Process completed with exit code 1.
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Field.cs#L130
'FieldSet.FieldSet()' is inaccessible due to its protection level
build: src/RepoDb/Reflection/Compiler.DataEntityListDbParameterSetter.cs#L48
Possible null reference argument for parameter 'dbSetting' in 'BlockExpression Compiler.GetIndexDbParameterSetterExpression(Type entityType, ParameterExpression dbCommandExpression, Expression entitiesParameterExpression, IEnumerable<FieldDirection> fieldDirections, int entityIndex, IDbSetting dbSetting, IDbHelper? dbHelper)'.
build: src/RepoDb/QueryField/ParseExpression.cs#L335
Possible null reference return.
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/PrimaryMapper.cs#L183
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/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.