1 write to Position
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNode.cs (1)
36
Position
= position;
15 references to Position
Microsoft.CodeAnalysis (15)
Syntax\ChildSyntaxList.cs (2)
104
: this(slotIndex: 0, precedingOccupantSlotCount: 0, node.
Position
)
227
var position = node.
Position
;
Syntax\SyntaxNode.cs (11)
72
internal int EndPosition =>
Position
+ Green.FullWidth;
84
public TextSpan FullSpan => new TextSpan(this.
Position
, this.Green.FullWidth);
96
var start =
Position
;
118
public int SpanStart =>
Position
+ Green.GetLeadingTriviaWidth();
163
Interlocked.CompareExchange(ref field, green.CreateRed(this, this.
Position
), null);
198
Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.
Position
), null);
620
return node.
Position
;
640
return this.
Position
+ offset;
649
return node.
Position
;
661
return nextSibling.
Position
- offset;
1104
return FindTriviaByOffset(this, position - this.
Position
, stepInto);
Syntax\SyntaxNodeOrToken.cs (1)
47
_position = node.
Position
;
Syntax\SyntaxNodeOrTokenList.cs (1)
116
internal int Position => _node?.
Position
?? 0;