Skip to content

[Implment] check that a user cannot set themselves as IsActive = fals… #70

[Implment] check that a user cannot set themselves as IsActive = fals…

[Implment] check that a user cannot set themselves as IsActive = fals… #70

Triggered via push December 23, 2023 17:11
Status Success
Total duration 4m 47s
Artifacts
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): 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.
Analyze (csharp): 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.
Analyze (csharp): 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.
Analyze (csharp): 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.
Analyze (csharp): CometServer/Startup.cs#L236
'HangfireApplicationBuilderExtensions.UseHangfireServer(IApplicationBuilder, BackgroundJobServerOptions, IEnumerable<IBackgroundProcess>, JobStorage)' is obsolete: 'Please use IServiceCollection.AddHangfireServer extension method instead in the ConfigureServices method. Will be removed in 2.0.0.'
Analyze (csharp): CometServer/Modules/Authentication/AuthenticationModule.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): CometServer/Modules/10-25/ExchangeFileExportApi.cs#L121
The variable 'e' is declared but never used
Analyze (csharp): CometServer/Modules/10-25/EngineeringModelApi.cs#L147
The variable 'e' is declared but never used
Analyze (csharp): CometServer/Exceptions/BadRequestException.cs#L78
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Analyze (csharp): CometServer/Modules/CarterExtensions/HttpResponseExtensions.cs#L45
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)