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)
77
if (
_workspace
== null)
84
var solution =
_workspace
.OpenSolutionAsync(_solutionPath, progress: null, CancellationToken.None).Result;
86
var docCount =
_workspace
.CurrentSolution.Projects.SelectMany(p => p.Documents).Count();
99
_workspace
.Dispose();
111
foreach (var project in
_workspace
.CurrentSolution.Projects)
145
foreach (var project in
_workspace
.CurrentSolution.Projects)
164
foreach (var project in
_workspace
.CurrentSolution.Projects)
185
var storageService =
_workspace
.Services.SolutionServices.GetPersistentStorageService();
186
var storage = await storageService.GetStorageAsync(SolutionKey.ToSolutionKey(
_workspace
.CurrentSolution), CancellationToken.None);
191
var tasks =
_workspace
.CurrentSolution.Projects.SelectMany(p => p.Documents).Select(d => Task.Run(
215
var solution =
_workspace
.CurrentSolution;