Skip to content

Bug fix: Location null-check in message text. #218

Bug fix: Location null-check in message text.

Bug fix: Location null-check in message text. #218

Re-run triggered November 6, 2023 04:50
Status Success
Total duration 55s
Artifacts

build_examples.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L32
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L59
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L74
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L207
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L224
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L244
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/UpdateHandlers.cs#L260
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L19
In externally visible method 'ConfigureWebhook.ConfigureWebhook(ILogger<ConfigureWebhook> logger, IServiceProvider serviceProvider, IOptions<BotConfiguration> botOptions)', validate parameter 'botOptions' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L33
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: Telegram.Bot.Examples.WebHook/Services/ConfigureWebhook.cs#L47
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)