harmonize with Console.Advanced #292
Annotations
10 warnings
build:
Console.Advanced/Services/UpdateHandler.cs#L190
Dereference of a possibly null reference.
|
build:
Console.Advanced/Services/UpdateHandler.cs#L20
Forward the 'cancellationToken' parameter to the 'Delay' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
|
build:
Console.Advanced/Services/UpdateHandler.cs#L17
Use PascalCase for named placeholders in the logging message template (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1727)
|
build:
Serverless/AwsLambda.Webhook/lambda-bot/Function.cs#L21
In externally visible method 'Task<string> LambdaFunction.FunctionHandler(JsonElement request, ILambdaContext context)', validate parameter 'context' 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:
Console.Advanced/Abstract/PollingServiceBase.cs#L49
Modify 'DoWork' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
build:
Console.Advanced/Services/UpdateHandler.cs#L148
Exception type System.IndexOutOfRangeException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
|
build:
Console.Advanced/Services/UpdateHandler.cs#L182
The logging message template should not vary between calls to 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2254)
|
build:
Serverless/AzureFunctions.Webhook/Startup.cs#L13
In externally visible method 'void Startup.Configure(IFunctionsHostBuilder builder)', validate parameter 'builder' 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:
Webhook.Controllers/Services/UpdateHandler.cs#L190
Dereference of a possibly null reference.
|
build:
Webhook.Controllers/Services/UpdateHandler.cs#L20
Forward the 'cancellationToken' parameter to the 'Delay' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016)
|