Skip to content

Commit 2a15672

Browse files
committed
Using nameof.
1 parent c7ad56c commit 2a15672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbConnection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static void ClearAllPools()
4242
public static void ClearPool(FbConnection connection)
4343
{
4444
if (connection == null)
45-
throw new ArgumentNullException("connection");
45+
throw new ArgumentNullException(nameof(connection));
4646

4747
FbConnectionPoolManager.Instance.ClearPool(connection._options);
4848
}

0 commit comments

Comments
 (0)