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)
88
if (
_workspace
== null)
95
var solution =
_workspace
.OpenSolutionAsync(_solutionPath, progress: null, CancellationToken.None).Result;
97
var docCount =
_workspace
.CurrentSolution.Projects.SelectMany(p => p.Documents).Count();
110
_workspace
.Dispose();
122
foreach (var project in
_workspace
.CurrentSolution.Projects)
156
foreach (var project in
_workspace
.CurrentSolution.Projects)
175
foreach (var project in
_workspace
.CurrentSolution.Projects)
196
var storageService =
_workspace
.Services.SolutionServices.GetPersistentStorageService();
197
using (var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(
_workspace
.CurrentSolution), CancellationToken.None))
202
var tasks =
_workspace
.CurrentSolution.Projects.SelectMany(p => p.Documents).Select(d => Task.Run(
226
var searchTasks =
_workspace
.CurrentSolution.Projects.Select(