1 write to TreeInfo
Microsoft.CodeAnalysis.Workspaces (1)
AbstractFormattingResult.cs (1)
33this.TreeInfo = treeInfo;
6 references to TreeInfo
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
FormattingResult.cs (1)
26var rewriter = new TriviaRewriter(this.TreeInfo.Root, SimpleIntervalTree.Create(new TextSpanIntervalIntrospector(), this.FormattedSpan), changeMap, cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Formatting\Engine\FormattingResult.vb (1)
26Dim triviaRewriter = New TriviaDataFactory.TriviaRewriter(Me.TreeInfo.Root, SimpleIntervalTree.Create(New TextSpanIntervalIntrospector(), Me.FormattedSpan), changeMap, cancellationToken)
Microsoft.CodeAnalysis.Workspaces (4)
AbstractFormattingResult.cs (4)
78var span = TextSpan.FromBounds(token1.RawKind == 0 ? this.TreeInfo.StartPosition : token1.Span.End, token2.RawKind == 0 ? this.TreeInfo.EndPosition : token2.SpanStart); 79var originalString = this.TreeInfo.GetTextBetween(token1, token2); 103return this.TreeInfo.Root;