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