5 references to LastTokenInStream
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
285
if (context.IsFormattingDisabled(new TextSpan(context.TokenStream.
LastTokenInStream
.Token.SpanStart, 0)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (4)
106
return _treeData.IsLastToken(this.
LastTokenInStream
.Token);
369
var token = this.
LastTokenInStream
.Token;
447
Debug.Assert(_treeData.IsLastToken(this.
LastTokenInStream
.Token));
448
return GetOriginalTriviaData(this.
LastTokenInStream
, default);