mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Use ArgumentNullException.ThrowIfNull everywhere (#3239)
This commit is contained in:
@@ -68,8 +68,7 @@ namespace BTCPayServer.Data
|
||||
|
||||
public static IEnumerable<ISupportedPaymentMethod> GetSupportedPaymentMethods(this StoreData storeData, BTCPayNetworkProvider networks)
|
||||
{
|
||||
if (storeData == null)
|
||||
throw new ArgumentNullException(nameof(storeData));
|
||||
ArgumentNullException.ThrowIfNull(storeData);
|
||||
#pragma warning disable CS0618
|
||||
bool btcReturned = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user