1 write to _sourceText
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
Formatting\DocumentFormattingBenchmark.cs (1)
60
_sourceText
= SourceText.From(Resources.GetResourceText("DocumentFormattingBenchmark.cshtml", folder: "Formatting"));
2 references to _sourceText
Microsoft.AspNetCore.Razor.Microbenchmarks (2)
Formatting\DocumentFormattingBenchmark.cs (2)
62
_htmlChanges = SourceTextDiffer.GetMinimalTextChanges(
_sourceText
, htmlFormattedText, DiffKind.Line);
66
var solution = CreateBenchmarkSolution(_workspace.CurrentSolution,
_sourceText
, out var documentId);