1 write to Position
Microsoft.CodeAnalysis (1)
Syntax\SyntaxToken.cs (1)
34
Position
= position;
15 references to Position
Microsoft.CodeAnalysis (15)
Syntax\SyntaxNodeOrToken.cs (1)
775
return new SyntaxNodeOrToken(token.Parent, token.Node, token.
Position
, token.Index);
Syntax\SyntaxToken.cs (9)
109
return Node != null ? new TextSpan(
Position
+ Node.GetLeadingTriviaWidth(), Node.Width) : default(TextSpan);
115
get { return Node != null ?
Position
+ Node.FullWidth : 0; }
126
get { return Node != null ?
Position
+ Node.GetLeadingTriviaWidth() : 0; }
132
public TextSpan FullSpan => new TextSpan(
Position
, FullWidth);
410
? new SyntaxTriviaList(this, Node.GetLeadingTriviaCore(), this.
Position
)
436
int trailingPosition =
Position
+ this.FullWidth;
556
Position
== other.
Position
&&
574
return Hash.Combine(Parent, Hash.Combine(Node, Hash.Combine(
Position
, Index)));
Syntax\SyntaxTokenList.cs (1)
43
Position = token.
Position
;
Syntax\SyntaxTokenList.Reversed.cs (1)
96
_position = last.
Position
+ last.FullWidth;
Syntax\SyntaxTriviaList.cs (1)
40
Position = token.
Position
;
Syntax\SyntaxTriviaList.Enumerator.cs (2)
60
InitializeFrom(in token, node, 0, token.
Position
);
77
int trailingPosition = token.
Position
+ token.FullWidth;