Примеры ошибок, обнаруженных с помощью диагностики V3168
V3168. Awaiting on expression with potential null value can lead to throwing of 'NullReferenceException'.
BTCPay Server
V3168 Awaiting on expression with potential null value can lead to NullReferenceException. BTCPayServer\HostedServices\InvoiceWatcher.cs 383
private async Task<bool> UpdateConfirmationCount(InvoiceEntity invoice)
{
....
var transactionResult = await _explorerClientProvider.GetExplorerClient(
payment.GetCryptoCode())?.GetTransactionAsync(....);
....
}