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