static async void OnSolutionModified(object sender, MonoDevelop.Projects.WorkspaceItemEventArgs args) { var sol = (MonoDevelop.Projects.Solution)args.Item; var workspace = await TypeSystemService.GetWorkspaceAsync(sol, CancellationToken.None); var solId = workspace.ProjectHandler.GetSolutionId(sol); if (solId == null) { return; } NotifySolutionModified(sol, solId, workspace); }