1 write to _text
IdeCoreBenchmarks (1)
SyntacticChangeRangeBenchmark.cs (1)
43
_text
= SourceText.From(text);
6 references to _text
IdeCoreBenchmarks (6)
SyntacticChangeRangeBenchmark.cs (6)
44
_tree = SyntaxFactory.ParseSyntaxTree(
_text
);
54
var newText =
_text
.WithChanges(new TextChange(new TextSpan(_index + 8, 1), "m"));
63
var newText =
_text
.WithChanges(new TextChange(new TextSpan(_index, 0), "var v = x "));
72
var newText =
_text
.WithChanges(new TextChange(new TextSpan(0, addedText.Length), addedText));
81
var newText =
_text
.WithChanges(new TextChange(new TextSpan(
_text
.Length - addedText.Length, addedText.Length), addedText));