Skip to content

[SQ] CA1822 - Member does not access instance data and can be marked … #50

[SQ] CA1822 - Member does not access instance data and can be marked …

[SQ] CA1822 - Member does not access instance data and can be marked … #50

Triggered via push December 18, 2023 18:37
Status Success
Total duration 2m 56s
Artifacts

CodeQuality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs#L70
'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Build: CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs#L146
'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Build: CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs#L70
'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Build: CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs#L146
'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
Build: CDP4Orm/MigrationEngine/MigrationMetaData.cs#L59
Change the visibility of 'MIGRATION_FILENAME_PATTERN' or make it 'const' or 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2223)
Build: CDP4Orm/MigrationEngine/MigrationService.cs#L54
Remove this unread private field 'logger' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
Build: CDP4Orm/AutoGenDao/ParameterTypeDao.cs#L520
Remove the unused private method 'GetThingDataSql'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: CDP4Orm/AutoGenDao/ParameterTypeDao.cs#L551
Remove the unused private method 'GetDefinedThingDataSql'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: CDP4Orm/AutoGenDao/ParameterTypeDao.cs#L582
Remove the unused private method 'GetParameterTypeDataSql'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: CDP4Orm/AutoGenDao/ParameterTypeDao.cs#L613
Remove the unused private method 'GetThing_ExcludedDomainDataSql'. (https://rules.sonarsource.com/csharp/RSPEC-1144)