Updated lang version for netstandard2.0 project #25
Annotations
1 error and 11 warnings
build
Process completed with exit code 1.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build:
EerieLeap/Controllers/ConfigController.cs#L25
Possible null reference assignment.
|
build:
EerieLeap/Domain/SensorDomain/Models/SensorReading.cs#L17
Non-nullable property 'Sensor' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
EerieLeap/Controllers/ConfigControllerBase.cs#L8
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
|
build:
EerieLeap/Controllers/SensorConfigController.cs#L21
Modify 'GetConfigs' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
build:
EerieLeap/Controllers/SensorConfigController.cs#L39
Modify 'GetConfig' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
build:
EerieLeap/Controllers/SensorConfigController.cs#L57
Modify 'UpdateConfigsAsync' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
build:
EerieLeap/Utilities/ExpressionEvaluator.cs#L30
In externally visible method 'double ExpressionEvaluator.Evaluate(string expression, Dictionary<string, double> sensorValues)', validate parameter 'sensorValues' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
build:
EerieLeap/Domain/SensorDomain/Utilities/SensorDependencyResolver.cs#L12
In externally visible method 'void SensorDependencyResolver.AddSensor(Sensor sensor)', validate parameter 'sensor' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
build:
EerieLeap/Repositories/JsonConfigurationRepository.cs#L24
In externally visible method 'JsonConfigurationRepository.JsonConfigurationRepository(ILogger logger, IOptions<ConfigurationOptions> options, JsonSerializerOptions? readOptions = null, JsonSerializerOptions? writeOptions = null)', validate parameter 'options' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
build:
EerieLeap/Controllers/Filters/ValidationExceptionFilter.cs#L52
In externally visible method 'Task ValidationExceptionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)', validate parameter 'next' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|