mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Use ArgumentNullException.ThrowIfNull everywhere (#3239)
This commit is contained in:
@@ -147,8 +147,7 @@ namespace BTCPayServer.Configuration
|
||||
}
|
||||
public static bool TryParse(string str, out ExternalConnectionString result, out string error)
|
||||
{
|
||||
if (str == null)
|
||||
throw new ArgumentNullException(nameof(str));
|
||||
ArgumentNullException.ThrowIfNull(str);
|
||||
error = null;
|
||||
result = null;
|
||||
var resultTemp = new ExternalConnectionString();
|
||||
|
||||
Reference in New Issue
Block a user