Change throw exceptions to use nameof in parameter
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRA
|
||||
public ReadOnlyDictionary(IDictionary<TKey, TValue> dict)
|
||||
{
|
||||
if (dict == null)
|
||||
throw new ArgumentNullException("dict");
|
||||
throw new ArgumentNullException(nameof(dict));
|
||||
|
||||
this.dict = dict;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user