public async System.Threading.Tasks.Task AnalyzeAndStoreSingleAsync(Document document)
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

            Debug.WriteLine($"AnalyzeAndStoreSingleAsync for file {document.Name}");
            using (MiniProfiler.Current.Step(nameof(AnalyzeAndStoreSingleAsync)))
            {
                var codeResult = await CodeFileAnalyzer.BuildAsync(document);

                await GenericMethods.AddMultipleAsync(codeResult.Generics.Select(e => new KeyValuePair <MethodInfo, ExpressionResult>(e.NodeInformation.MethodInfo, e)));

                CodeQueries.AddWithoutKey(codeResult.Queries);
                OnStoreChangeHandler(ChangedFileTypeFlag.CSharp);
            }
        }