Code cleanup.

This commit is contained in:
Matthias Mailänder
2022-02-12 17:50:49 +01:00
committed by teinarss
parent 7735107deb
commit ee95d2591f
5 changed files with 6 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ namespace OpenRA
value = args[i + 1];
if (value == null)
throw new ArgumentNullException("args", $"Expected the argument at index {i + 1} to be a non-null value");
throw new ArgumentNullException(nameof(args), $"Expected the argument at index {i + 1} to be a non-null value");
argumentDictionary.Add(name, value);
}