5 references to IsFirstToken
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
338
var startPosition = this.TreeData.
IsFirstToken
(_startToken) ? this.TreeData.StartPosition : _startToken.SpanStart;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (4)
97
return _treeData.
IsFirstToken
(this.FirstTokenInStream.Token);
379
if (_treeData.
IsFirstToken
(token2.Token))
406
if (_treeData.
IsFirstToken
(token2.Token))
435
Debug.Assert(_treeData.
IsFirstToken
(this.FirstTokenInStream.Token));