2 writes to _workspace
IdeCoreBenchmarks (2)
NavigateToBenchmarks.cs (2)
71_workspace = MSBuildWorkspace.Create(new Dictionary<string, string> 100_workspace = null;
11 references to _workspace
IdeCoreBenchmarks (11)
NavigateToBenchmarks.cs (11)
77if (_workspace == null) 84var solution = _workspace.OpenSolutionAsync(_solutionPath, progress: null, CancellationToken.None).Result; 86var docCount = _workspace.CurrentSolution.Projects.SelectMany(p => p.Documents).Count(); 99_workspace.Dispose(); 111foreach (var project in _workspace.CurrentSolution.Projects) 145foreach (var project in _workspace.CurrentSolution.Projects) 164foreach (var project in _workspace.CurrentSolution.Projects) 185var storageService = _workspace.Services.SolutionServices.GetPersistentStorageService(); 186var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(_workspace.CurrentSolution), CancellationToken.None); 191var tasks = _workspace.CurrentSolution.Projects.SelectMany(p => p.Documents).Select(d => Task.Run( 215var solution = _workspace.CurrentSolution;