Skip to content

Commit 652fac4

Browse files
committed
Make deepsource happy
1 parent b9d0a71 commit 652fac4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NHibernate/Collection/Generic/PersistentGenericMap.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,9 @@ public void Add(TKey key, TValue value)
255255
{
256256
if (key == null)
257257
{
258-
throw new ArgumentNullException("key");
258+
throw new ArgumentNullException(nameof(key));
259259
}
260+
260261
if (PutQueueEnabled)
261262
{
262263
var found = TryReadElementByKey<TKey, TValue>(key, out _, out _);

0 commit comments

Comments
 (0)