Skip to content

Simplify calls with new syntax #267

Simplify calls with new syntax

Simplify calls with new syntax #267

Triggered via push July 4, 2025 13:11
Status Failure
Total duration 2m 56s
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/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Mappers/EntityMapFluentDefinition.cs#L433
'TClassHandler' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TClassHandler' in the generic type or method 'ClassHandlerMapper.Add<TType, TClassHandler>(TClassHandler, bool)'
build: src/RepoDb/Interfaces/IPropertyHandler.cs#L27
Rename virtual/interface member IPropertyHandler<TInput, TResult>.Set(TResult, PropertyHandlerSetOptions) so that it no longer conflicts with the reserved language keyword 'Set'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build: src/RepoDb/Interfaces/IPropertyHandler.cs#L18
Rename virtual/interface member IPropertyHandler<TInput, TResult>.Get(TInput, PropertyHandlerGetOptions) so that it no longer conflicts with the reserved language keyword 'Get'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build: src/RepoDb/DataEntityDataReader.cs#L13
Type 'DataEntityDataReader' directly or indirectly inherits 'IEnumerable' without implementing 'IEnumerable<T>'. Publicly-visible types should implement the generic version to broaden usability. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1010)
build: src/RepoDb/Interfaces/ICache.cs#L9
Rename RepoDb.Interfaces.ICache to end in either 'Collection' or 'Dictionary', 'Set', 'Stack', 'Queue' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710)
build: src/RepoDb/Reflection/Compiler.DictionaryStringObjectListDbParameterSetter.cs#L43
Dereference of a possibly null reference.
build: src/RepoDb/Reflection/Compiler.DataEntityPropertySetter.cs#L67
Dereference of a possibly null reference.
build: src/RepoDb/QueryField/ParseExpression.cs#L505
Dereference of a possibly null reference.
build: src/RepoDb/QueryField/ParseExpression.cs#L264
Dereference of a possibly null reference.
build: src/RepoDb/QueryMultipleExtractor.cs#L308
Dereference of a possibly null reference.
build: src/RepoDb/Extensions/EnumerableExtension.cs#L270
Dereference of a possibly null reference.