Skip to content

Bump xunit from 2.5.2 to 2.5.3 (#497) #205

Bump xunit from 2.5.2 to 2.5.3 (#497)

Bump xunit from 2.5.2 to 2.5.3 (#497) #205

Triggered via push October 17, 2023 04:12
Status Success
Total duration 53s
Artifacts
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.Polling/Services/UpdateHandler.cs#L21
In member Task UpdateHandler.HandleUpdateAsync(ITelegramBotClient _, Update update, CancellationToken cancellationToken), change parameter name _ to botClient in order to match the identifier as it has been declared in Task IUpdateHandler.HandleUpdateAsync(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build: Telegram.Bot.Examples.Polling/Abstract/ReceiverServiceBase.cs#L42
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/Controllers/BotController.cs#L17
In externally visible method 'Task<IActionResult> BotController.Post(Update update, UpdateHandlers handleUpdateService, CancellationToken cancellationToken)', validate parameter 'handleUpdateService' 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.Polling/Abstract/PollingServiceBase.cs#L25
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.Polling/Abstract/PollingServiceBase.cs#L51
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
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.Polling/Services/UpdateHandler.cs#L193
Exception type System.IndexOutOfRangeException is reserved by the runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: Telegram.Bot.Examples.Polling/Services/UpdateHandler.cs#L44
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)