Misuse - Fire & Forget async Methods

These async methods are 'fire&forget', which return void. Unless a method is only called as a UI event handler, it must be awaitable. Otherwise, it is a code smell because it complicates control flow and makes error detection & correction difficult. Exceptions in fire&forget methods cannot be caught in the calling method, causing termination of the app. Instead, they should return Task which does not force the method to return anything; but it enables easier error-handling, composability, and testability.

We highlight the corresponding code snippet in the source file through Github! Just click the 'Link to Source Code'.
For now, we included all usages from only Github applications because Codeplex does not allow to highlight the code snippet in their source code viewer interface. If the link to the app is broken, it means that the application repository is removed from its hosting service (Github or Codeplex).

Method Name Link
private async void LoadTracks ()Link to Source Code
private async void LoadPalestrantes ()Link to Source Code
private async void LoadPalestras ()Link to Source Code
private async void LoadTweets ()Link to Source Code
private async void LoadPalestrante ()Link to Source Code
public async void LoadPalestra (int tempId)Link to Source Code
private async void LoadTrack ()Link to Source Code
private async void LoadPalestras ()Link to Source Code
public async void LoadData (bool primeiraPagina = false)Link to Source Code
private async void LoadLocationsAsync ()Link to Source Code
private async void OnGetGeolocationCommand (object obj)Link to Source Code
private async void LoadDataAsyncFromRepository ()Link to Source Code
protected override async void OnInvoke (ScheduledTask task)Link to Source Code
public async void PrepareMasterObject ()Link to Source Code
public async void Authenticate ()Link to Source Code
public async void RefreshActiveItemAsync ()Link to Source Code
protected override async void OnActivate ()Link to Source Code
protected async override void OnActivate ()Link to Source Code
public async void Login (string password)Link to Source Code
public async void ChangeBasemap (ArcGISPortalItem portalItem)Link to Source Code
private async void LoginAndNavigateAsync (string password)Link to Source Code
private async void LoginAndNavigateAsync ()Link to Source Code
protected override async void OnActivate ()Link to Source Code
private async void LoadActiveItemsContentAsync (string message)Link to Source Code
public async void newStatusAsync (string tweet, string latitude = "", string longitude = "")Link to Source Code
public async void uploadDocument (string json, string id = "")Link to Source Code
private async void Init ()Link to Source Code
private async void ReloadDataAsync ()Link to Source Code
private async void UpdateFilter ()Link to Source Code
private async void PinCourseAsync (bool toggle)Link to Source Code
private async void SetPinnedStateAsync ()Link to Source Code
private async void LoadCourseDataAsync (INavigationController controller)Link to Source Code
private async void LoadDepartmentGroupsAsync ()Link to Source Code
private async void UpdateMyCoursesAsync (PinnedCourses pinnedCourses)Link to Source Code
public async void Execute (object parameter)Link to Source Code
public async void TestGetAllOrganizations ()Link to Source Code
public async void TestGetDepartment ()Link to Source Code
internal async void AttachImage (Microsoft.Phone.Tasks.PhotoResult e)Link to Source Code
internal async void AttachImage (Microsoft.Phone.Tasks.PhotoResult e)Link to Source Code
public override async void LoadState (int? navigationParameter, Dictionary pageState)Link to Source Code
public async static void Goto (string URI)Link to Source Code
protected virtual async void Handle (Func handler)Link to Source Code
public async void Launch ()Link to Source Code
private async void RefreshLists ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
private async void RefreshNotifications ()Link to Source Code
private async void RefreshBoards ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
private async void RefreshCards ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
protected override async void OnInitialize ()Link to Source Code
protected override async void OnViewLoaded (object view)Link to Source Code
private async void AccessGranted (OAuthToken token)Link to Source Code
private async void AccessDenied ()Link to Source Code
private async void OnLoadAction (NavigationContext navigationContext)Link to Source Code
private async void StartPlayerAction ()Link to Source Code
private async void startSTT ()Link to Source Code
private async void StartProcess ()Link to Source Code
public async void GetCurrentLocationInfo ()Link to Source Code
public async void AsyncUpdateLockScreenImage (string imageUrlPath, bool isAppResource)Link to Source Code
private async void PerformRemovalAsync (Favorite item)Link to Source Code
public async void RefreshDepartureInformationAsync ()Link to Source Code
protected async void LoadStationAsync ()Link to Source Code
private async void PopulateMapAsync ()Link to Source Code
protected async void ContinueNearestSearchOnUiThread ()Link to Source Code
protected async void LoadHaltestellenAsync ()Link to Source Code
public async void SearchForMatchesAsync (string searchString)Link to Source Code
public async void GetPosition (LocationServiceAccuracy desiredAccuracy, Action locationResult)Link to Source Code
public async void GetPosition (LocationServiceAccuracy desiredAccuracy, TimeSpan maximumAge, TimeSpan timeout, Action locationResult)Link to Source Code
internal async void DoUpdate (AppVersion availableUpdate)Link to Source Code
public async void MakeTransaction ()Link to Source Code
public async void LoadData ()Link to Source Code
public async void LoadTransferAccounts ()Link to Source Code
public async void Execute (object parameter)Link to Source Code
public async void Execute (object parameter)Link to Source Code
public async void Execute (object parameter)Link to Source Code
public async void Execute (object parameter)Link to Source Code
public async void Execute (object parameter)Link to Source Code
private async void DeleteCurrentImageAsync ()Link to Source Code
public async void RestoreImageFromPath ()Link to Source Code
private async void StopTracking ()Link to Source Code
private async void DeleteCurrentImageAsync ()Link to Source Code
public async void RestoreImageFromPath ()Link to Source Code
private async void HandleChosenPhoto (string name, Stream data)Link to Source Code
private async void HandleChosenPhoto (string name, Stream data)Link to Source Code
private async void ResolveCivicAddressesInternal ()Link to Source Code
private async void RequestRoute ()Link to Source Code
public async void OnImportsSatisfied ()Link to Source Code
public async void LoadData ()Link to Source Code
private async void DeletePart2 ()Link to Source Code
public async void PutFileInIsoStore ()Link to Source Code
async void InitializeVoiceCommands ()Link to Source Code
private async void ReproduceSpeech (string templatePth, object currentText)Link to Source Code
private async void RecognizeCommand ()Link to Source Code
private async void LoadStations ()Link to Source Code
private async void CheckCurrentPlayingState ()Link to Source Code
protected async override void OnUserAction (BackgroundAudioPlayer player, AudioTrack track, UserAction action, object param)Link to Source Code
public async void Navigate ( string viewName, XParameters parameters )Link to Source Code
private async void InternalLoadData ( DataLoadReason reason )Link to Source Code
public async void Navigate ( string viewName, XParameters parameters )Link to Source Code
private async void InternalLoadData ( DataLoadReason reason )Link to Source Code
private async void TestLogin ()Link to Source Code
private async void OnLogin ()Link to Source Code
private async void Initialize ()Link to Source Code
private async void AutoFocus ()Link to Source Code
private async void TakePicture ()Link to Source Code
public override async void OnNavigatedTo ()Link to Source Code
private async void LoadAvailability (string stopId)Link to Source Code
private async void FoundNear ()Link to Source Code
private async void Tracking ()Link to Source Code
async private void LoadData ()Link to Source Code
async private void Initialize ()Link to Source Code
private async void SetAwayModeAsync (bool isAway)Link to Source Code
private async void SetFanModeAsync (FanMode fanMode)Link to Source Code
private async void SetHvacModeAsync (HvacMode hvacMode)Link to Source Code
public async void RetryAfterErrorAsync ()Link to Source Code
private async void OnTimerTick (object state)Link to Source Code
private async void SetAwayModeAsync (bool isAway)Link to Source Code
private async void SetFanModeAsync (FanMode fanMode)Link to Source Code
private async void SetHvacModeAsync (HvacMode hvacMode)Link to Source Code
public async void RetryAfterErrorAsync ()Link to Source Code
private async void OnTimerTick (object state)Link to Source Code
private async void SetAwayModeAsync (bool isAway)Link to Source Code
private async void SetFanModeAsync (FanMode fanMode)Link to Source Code
private async void SetHvacModeAsync (HvacMode hvacMode)Link to Source Code
public async void RetryAfterErrorAsync ()Link to Source Code
private async void OnTimerTick (object state)Link to Source Code
private async void AuthenticateUserResponse ()Link to Source Code
private async void GetProfile ()Link to Source Code
protected async override void OnInitialize ()Link to Source Code
private async void SpeakNotifications ()Link to Source Code
private async void StartSpeechToText ()Link to Source Code
public async void LoadData ()Link to Source Code
public async void LoadData ()Link to Source Code
async public void markAsRead (int itemId)Link to Source Code
async public void markAsUnRead (int itemId)Link to Source Code
async public void loadFolder (int i, int offset)Link to Source Code
public async void SendGuideAsync ([ReadOnlyArray] byte[] imageBytes)Link to Source Code
async void StartReceiveGuide (DataReader socketReader)Link to Source Code
public async void SendGuideAsync ([ReadOnlyArray] byte[] imageBytes)Link to Source Code
async void StartReceiveGuide (DataReader socketReader)Link to Source Code
protected async override void OnInvoke (ScheduledTask task)Link to Source Code
public async void Speak (string text)Link to Source Code
private async void UpdateInfo ()Link to Source Code
public async void GetApps ()Link to Source Code
public async void GetInfo ()Link to Source Code
public async void LoadMyKanboxFiles ()Link to Source Code
public async void LoadFolderFiles (string path)Link to Source Code
private async void RefreshTokenIfNeed ()Link to Source Code
public static async void UploadToSkydrive (string fileName, MainViewModel viewModel)Link to Source Code
public async void Record_Go (object state)Link to Source Code
private async void TryBluetooth ()Link to Source Code
async private void Write (string str)Link to Source Code
async private void WaitForData (StreamSocket socket)Link to Source Code
private async void DoSomethingWithReceivedString (string buffer)Link to Source Code
public async void ToggleActivity ()Link to Source Code
private async void LaunchGpxFileAssociation (string fileName)Link to Source Code
private async void DoButtonConnect ()Link to Source Code
private async void DoButtonDisconnect ()Link to Source Code
private async void PopulatePairedDevicesListBox ()Link to Source Code
private async void CheckBlueToothOn ()Link to Source Code
private async void GetLocation ()Link to Source Code
private async void getNavigation ()Link to Source Code
public async void Initialize ()Link to Source Code
private async void LoadData ()Link to Source Code
private async void HandleSpeech ()Link to Source Code
private async void BT2Arduino_Send (string WhatToSend)Link to Source Code
private async void BT2Arduino_Send (string WhatToSend)Link to Source Code
private async void Connect (PeerInformation peerInformation)Link to Source Code
async void ReadMessage ()Link to Source Code
private async void GetCoordinates ()Link to Source Code
private async void GetCoordinates ()Link to Source Code
private async void GetCoordinates ()Link to Source Code
private static async void updateTile (Uri uri)Link to Source Code
protected override async void OnInvoke (ScheduledTask task)Link to Source Code
private async void DownloadPictures (SkydriveAlbum albumItem)Link to Source Code
private async void UploadPicture (PhotoResult e)Link to Source Code
private async void GetAlubmData ()Link to Source Code
private async void GetAlbumPicture (SkydriveAlbum albumItem)Link to Source Code
private async void Create_new_album ()Link to Source Code
private async void GetProfilePicture ()Link to Source Code
public async void ResolveUserIdAndPlatform (string url, IUserIdAndPlatformResolver userIdAndPlatformResolver)Link to Source Code
private async void ShowMyLocationOnTheMap ()Link to Source Code
private async void LoadNews ()Link to Source Code
public async void AttemptNokiaLookup ()Link to Source Code
private async void GetNearbyArtists ()Link to Source Code
public async void Open (string peer)Link to Source Code
public async static void ConnectAsync (PeerInformation peerInfo)Link to Source Code
public async static void SendChatMessageAsync (ChatMessage msg)Link to Source Code
private async void repeatTimer_Tick (object state)Link to Source Code
public static async void ExecuteTask (IRequestTask task, Action callback = null, string taskContext = null)Link to Source Code
public static async void ExecuteTask (IRequestTask task, ITaskParameters taskParams)Link to Source Code
private async void SendMessageToServer ()Link to Source Code
private async void PhotoChooser_Completed (object sender, PhotoResult e)Link to Source Code
public async void Check ()Link to Source Code
private async void OnReLoginMsg (NotificationMessage msg)Link to Source Code
internal async void InitLogin ()Link to Source Code
private async void PrepareImage ()Link to Source Code
private async void PrepareImage ()Link to Source Code
public async void TestServer ()Link to Source Code
private async void DoLogin ()Link to Source Code
private async void TestReply ()Link to Source Code
private async void TestWrongVerify ()Link to Source Code
private async void TestWrongID ()Link to Source Code
private async void DoTest ()Link to Source Code
public async void LoadData ()Link to Source Code
public async void GetLocation ()Link to Source Code
private async void LoadImages ()Link to Source Code
private async void SayQuestion ()Link to Source Code
private async void CameraCaptureTaskCompleted (object sender, PhotoResult e)Link to Source Code
private async void getCharts ()Link to Source Code
private async void getAlbumInfo (string artistName, string albumName)Link to Source Code
private async void getArtistInfo (string artistName)Link to Source Code
private async void getArtistList (string searchText)Link to Source Code
private async void getAlbumList (string searchText)Link to Source Code
private async void getTrackList (string searchText)Link to Source Code
private async void getTagList (string searchText)Link to Source Code
private async void loadMoreArtists ()Link to Source Code
private async void loadMoreAlbums ()Link to Source Code
private async void loadMoreTracks ()Link to Source Code
private async void loadMoreTags ()Link to Source Code
private async void login ()Link to Source Code
private async void getTagInfo (string tagName)Link to Source Code
public static async void scrobble (string artistName, string trackName, DateTime timestamp = default(DateTime))Link to Source Code
public static async void scrobble (List tracks)Link to Source Code
public static async void updateNowPlaying (string artistName, string trackName, string albumName = null)Link to Source Code
public static async void love (string trackName, string artistName)Link to Source Code
public static async void unlove (string trackName, string artistName)Link to Source Code
private async void getTrackInfo (string artistName, string trackName)Link to Source Code
private async void loadMoreRecommendedArtists ()Link to Source Code
private async void loadMoreTracks ()Link to Source Code
private async void UpdateUser ()Link to Source Code
private async void GetRecommendedArtists ()Link to Source Code
private async void GetRecentTracks ()Link to Source Code
private async void ExchangeAuthorizationCode (string authorizationCode)Link to Source Code
private async void ExecuteInitialLoad ()Link to Source Code
private async void ChangeStaredStatus (GoogleFileViewModel fileViewModel)Link to Source Code
private async void RefreshFiles ()Link to Source Code
private async void DeleteFile (GoogleFileViewModel fileViewModel)Link to Source Code
private async void DeleteFiles (IEnumerable filesToDelete)Link to Source Code
private async void CreateNewFolder ()Link to Source Code
private async void RenameFile ()Link to Source Code
private async void DownloadFile ()Link to Source Code
private async void ExchangeAuthorizationCode (string authorizationCode)Link to Source Code
private async void ExecuteInitialLoad ()Link to Source Code
private async void ChangeStaredStatus (GoogleFileViewModel fileViewModel)Link to Source Code
private async void RefreshFiles ()Link to Source Code
private async void DeleteFile (GoogleFileViewModel fileViewModel)Link to Source Code
private async void DeleteFiles (IEnumerable filesToDelete)Link to Source Code
private async void CreateNewFolder ()Link to Source Code
private async void RenameFile ()Link to Source Code
private async void DownloadFile ()Link to Source Code
public async void LoadProductsAsync_Should_Load_Data_FromDb ()Link to Source Code
protected async override void Configure ()Link to Source Code
public async void Initialize ()Link to Source Code
public async void RelocateAndRedrawMe ()Link to Source Code
private async void InitializeMeIndicatorAndLayers ()Link to Source Code
public async void Notify ()Link to Source Code
private async void ApplyFilterToBackgroundImageAsync (BitmapImage sourceImage)Link to Source Code
public virtual async void DeleteFilterAsync ()Link to Source Code
protected async void UpdatePreviewAsync ()Link to Source Code
private async void CreateCam (CameraSensorLocation camType)Link to Source Code
private async void CapturePhoto ()Link to Source Code
private async void PerformFocus (int fid, Windows.Foundation.Point? point = null)Link to Source Code
public async void GetDiscoveryStreamAsync (Dictionary parameters = null)Link to Source Code
public async void GetGroupInfoAsync (string groupId, Dictionary parameters = null)Link to Source Code
public async void GetGroupPhotosAsync (string groupId, Dictionary parameters = null)Link to Source Code
public async void GetRequestTokenAsync ()Link to Source Code
public async void GetAccessTokenAsync ()Link to Source Code
public async void GetEXIFAsync (string photoId)Link to Source Code
public async void SearchPhotoAsync (string searchSessionId, string query = null, string tags = null, Dictionary parameters = null)Link to Source Code
public async void SearchGroupsAsync (string searchSessionId, string query = null, Dictionary parameters = null)Link to Source Code
public async void GetPhotoSetListAsync (string userId)Link to Source Code
public async void GetPhotoSetPhotosAsync (string setId, Dictionary parameters = null)Link to Source Code
public async void GetPopularTagListAsync ()Link to Source Code
public async void UploadPhoto (string sessionId, string fileName, Stream stream, Dictionary parameters = null)Link to Source Code
public async void GetPhotoStreamAsync (string userId, Dictionary parameters = null)Link to Source Code
public async void GetGroupListAsync (string userId, Dictionary parameters = null)Link to Source Code
private async void GetFlows ()Link to Source Code
private async void LoadFlow ()Link to Source Code
public async void Execute (object parameter)Link to Source Code
private async void LoadMessageThread ()Link to Source Code
public async void Activate ()Link to Source Code
public async void ListenForStartCommand (object sender)Link to Source Code
public async void ListenForStopCommand (object sender)Link to Source Code
private async void ValidarPermiso ()Link to Source Code
private async void LockScreenChange (string filePathOfTheImage)Link to Source Code
private async void SpeakText ()Link to Source Code
private async void Start ()Link to Source Code
private async void Start ()Link to Source Code
private async void ProcessFiles (string result)Link to Source Code
private async void EncryptAndUploadCards (ObservableCollection cards)Link to Source Code
private async void ProcessFiles (string result)Link to Source Code
private async void EncryptAndUploadCards (ObservableCollection cards)Link to Source Code
protected async override void OnInitialize ()Link to Source Code
protected async override void OnInitialize ()Link to Source Code
protected async override void OnInitialize ()Link to Source Code
public async void onDecodeCompleted (String formatID, String ksn, String encTracks, int track1Length, int track2Length, String maskedPAN, String expDate, String cardHolderName)Link to Source Code
public async void VerifyCrednetials (Credentials credentials)Link to Source Code
public async void LoadData (ContactsResult contactsResult)Link to Source Code
public async void ContactsRequest ()Link to Source Code
public async void VerifyCrednetials ()Link to Source Code
public async void StartDataRequestLocal ()Link to Source Code
public async void StartLoginVerificationLocal ()Link to Source Code
async private static void InitializeVoiceCommands ()Link to Source Code
public async void Bluetooth_ConnectToSphero ()Link to Source Code
public async void Bluetooth_SpheroToFixedColor (Color color)Link to Source Code
public async void Bluetooth_ShowBackLed (int bright)Link to Source Code
public async void Bluetooth_SetHeading (int heading)Link to Source Code
public async void Bluetooth_Roll (int direction, int speed)Link to Source Code
private async void FindAndLoadContact (string givenName, string familyName)Link to Source Code
public async void Save (List highscores)Link to Source Code
public async void Clear ()Link to Source Code
private async void Start ()Link to Source Code
private async void RegisterVoiceCommands ()Link to Source Code
private async void UpdatePhraseList (string commandSetName, string phraseListName)Link to Source Code
private async void SetVoiceFromCommand (string voice, string action)Link to Source Code
private async void RegisterVoiceCommands ()Link to Source Code
private async void UpdatePhraseList (string commandSetName, string phraseListName)Link to Source Code
private async void SetVoiceFromCommand (string voice, string action)Link to Source Code
async public void readfile ()Link to Source Code
async public void readfile (string filepath)Link to Source Code
async public void readfileToken (string fileToken)Link to Source Code
async public void readfileFromSandbox (string fileToken)Link to Source Code
private async void buildFileList ()Link to Source Code
public async void Twitter ()Link to Source Code
public async void Facebook ()Link to Source Code
public async void Continue ()Link to Source Code
public async void Facebook ()Link to Source Code
public async void Twitter ()Link to Source Code
public async void Confirm ()Link to Source Code
private async void UpdateHistory ()Link to Source Code
private async void UpdateFriends ()Link to Source Code
private async void SubmitSearch ()Link to Source Code
public static async void LoadProgramDetails (string programid)Link to Source Code
public override async void Execute ()Link to Source Code
public override async void Execute ()Link to Source Code
public async static void PlaySong (int index)Link to Source Code
protected override async void OnInvoke (ScheduledTask task)Link to Source Code
public async void GetEntries (string query, Action, Exception> callback)Link to Source Code
public async void Initialize ()Link to Source Code
public async void Initialize ()Link to Source Code
async void Splash_Screen ()Link to Source Code
private async void ShowMyLocationOnTheMap ()Link to Source Code
private async void callCamera ()Link to Source Code
private async void CreateDatabase ()Link to Source Code
public async void LoadData ()Link to Source Code