Change throw exceptions to use nameof in parameter
This commit is contained in:
@@ -28,7 +28,7 @@ namespace OpenRA.FileFormats
|
||||
public ReplayMetadata(GameInformation info)
|
||||
{
|
||||
if (info == null)
|
||||
throw new ArgumentNullException("info");
|
||||
throw new ArgumentNullException(nameof(info));
|
||||
|
||||
GameInfo = info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user