4 references to StartPosition
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
433
=> _relativeIndentationTree.Algorithms.GetIntervalsThatIntersectWith(this.TreeData.
StartPosition
, this.TreeData.EndPosition, new FormattingContextIntervalIntrospector()).Select(i => i.Operation);
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\AbstractFormattingResult.cs (1)
78
var span = TextSpan.FromBounds(token1.RawKind == 0 ? this.TreeInfo.
StartPosition
: token1.Span.End, token2.RawKind == 0 ? this.TreeInfo.EndPosition : token2.SpanStart);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (1)
203
return this.TreeInfo.
StartPosition
;