1 write to _workspace
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
Formatting\DocumentFormattingBenchmark.cs (1)
64
_workspace
= new AdhocWorkspace();
5 references to _workspace
Microsoft.AspNetCore.Razor.Microbenchmarks (5)
Formatting\DocumentFormattingBenchmark.cs (5)
66
var solution = CreateBenchmarkSolution(
_workspace
.CurrentSolution, _sourceText, out var documentId);
67
if (!
_workspace
.TryApplyChanges(solution))
72
var document =
_workspace
.CurrentSolution.GetAdditionalDocument(documentId).AssumeNotNull();
79
hostServicesProvider.SetWorkspaceProvider(new WorkspaceProvider(
_workspace
));
109
_workspace
?.Dispose();