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)
66var solution = CreateBenchmarkSolution(_workspace.CurrentSolution, _sourceText, out var documentId); 67if (!_workspace.TryApplyChanges(solution)) 72var document = _workspace.CurrentSolution.GetAdditionalDocument(documentId).AssumeNotNull(); 79hostServicesProvider.SetWorkspaceProvider(new WorkspaceProvider(_workspace)); 109_workspace?.Dispose();