2 writes to _workspace
IdeCoreBenchmarks (2)
NavigateToBenchmarks.cs (2)
82_workspace = MSBuildWorkspace.Create(new Dictionary<string, string> 111_workspace = null;
11 references to _workspace
IdeCoreBenchmarks (11)
NavigateToBenchmarks.cs (11)
88if (_workspace == null) 95var solution = _workspace.OpenSolutionAsync(_solutionPath, progress: null, CancellationToken.None).Result; 97var docCount = _workspace.CurrentSolution.Projects.SelectMany(p => p.Documents).Count(); 110_workspace.Dispose(); 122foreach (var project in _workspace.CurrentSolution.Projects) 156foreach (var project in _workspace.CurrentSolution.Projects) 175foreach (var project in _workspace.CurrentSolution.Projects) 196var storageService = _workspace.Services.SolutionServices.GetPersistentStorageService(); 197using (var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(_workspace.CurrentSolution), CancellationToken.None)) 202var tasks = _workspace.CurrentSolution.Projects.SelectMany(p => p.Documents).Select(d => Task.Run( 226var searchTasks = _workspace.CurrentSolution.Projects.Select(