1 write to TreeInfo
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.cs (1)
29TreeInfo = treeInfo;
11 references to TreeInfo
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.cs (11)
34Debug.Assert(this.TreeInfo.GetTextBetween(default, token).All(IsCSharpWhitespace)); 42Debug.Assert(this.TreeInfo.GetTextBetween(default, token).All(IsCSharpWhitespace)); 46return new ComplexTrivia(this.Options, this.TreeInfo, default, token); 54Debug.Assert(this.TreeInfo.GetTextBetween(token, default).All(IsCSharpWhitespace)); 62Debug.Assert(this.TreeInfo.GetTextBetween(token, default).All(IsCSharpWhitespace)); 66return new ComplexTrivia(this.Options, this.TreeInfo, token, default); 74Debug.Assert(string.IsNullOrWhiteSpace(this.TreeInfo.GetTextBetween(token1, token2))); 82Debug.Assert(string.IsNullOrWhiteSpace(this.TreeInfo.GetTextBetween(token1, token2))); 86return new ComplexTrivia(this.Options, this.TreeInfo, token1, token2); 132var initialColumn = (token1.RawKind == 0) ? 0 : this.TreeInfo.GetOriginalColumn(Options.TabSize, token1) + token1.Span.Length; 133var textSnippet = this.TreeInfo.GetTextBetween(token1, token2);