private static void ValidatePlayerIsNotNull(Player player) { if (player == null) { throw new ArgumentNullException(nameof(player)); } }