1 override of GetSlotOffset
Microsoft.CodeAnalysis (1)
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (1)
28
public override int
GetSlotOffset
(int index)
4 references to GetSlotOffset
Microsoft.CodeAnalysis (4)
Syntax\ChildSyntaxList.cs (2)
205
position += greenChild.
GetSlotOffset
(idx);
286
position += green.
GetSlotOffset
(slot);
Syntax\SyntaxTokenList.cs (1)
135
return new SyntaxToken(_parent, Node.GetSlot(index), Position + Node.
GetSlotOffset
(index), _index + index);
Syntax\SyntaxTriviaList.cs (1)
133
return new SyntaxTrivia(Token, Node.GetSlot(index), Position + Node.
GetSlotOffset
(index), Index + index);