37 references to FullWidth
Microsoft.CodeAnalysis (37)
Syntax\ChildSyntaxList.cs (3)
162
position += greenChild.
FullWidth
;
242
var endPosition = position + greenChild.
FullWidth
;
332
position += greenChild.
FullWidth
;
Syntax\GreenNode.cs (6)
192
offset += child.
FullWidth
;
215
/// <param name="offset">The target offset. Must be between 0 and <see cref="
FullWidth
"/>.</param>
223
Debug.Assert(0 <= offset && offset <
FullWidth
);
233
accumulatedWidth += child.
FullWidth
;
430
return this.
FullWidth
!= 0 ?
437
return this.
FullWidth
!= 0 ?
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (3)
36
/// <param name="offset">The target offset. Must be between 0 and <see cref="GreenNode.
FullWidth
"/>.</param>
44
Debug.Assert(offset >= 0 && offset <
FullWidth
);
56
offset += children[i].Value.
FullWidth
;
Syntax\SyntaxList.WithManyWeakChildren.cs (1)
34
childPosition += greenChildren[i].Value.
FullWidth
;
Syntax\SyntaxNode.cs (8)
72
internal int EndPosition => Position + Green.
FullWidth
;
84
public TextSpan FullSpan => new TextSpan(this.Position, this.Green.
FullWidth
);
97
var width = this.Green.
FullWidth
;
133
internal int FullWidth => this.Green.
FullWidth
;
328
var writer = SourceTextWriter.Create(encoding, checksumAlgorithm, this.Green.
FullWidth
);
636
offset += greenChild.
FullWidth
;
653
int offset = green.GetSlot(index)?.
FullWidth
?? 0;
666
offset += greenChild.
FullWidth
;
Syntax\SyntaxNodeOrToken.cs (2)
278
return new TextSpan(Position, _token.
FullWidth
);
895
internal int FullWidth => _token?.
FullWidth
?? _nodeOrParent?.FullWidth ?? 0;
Syntax\SyntaxToken.cs (3)
100
internal int FullWidth => Node?.
FullWidth
?? 0;
115
get { return Node != null ? Position + Node.
FullWidth
: 0; }
439
trailingPosition -= trailingGreen.
FullWidth
;
Syntax\SyntaxTokenList.cs (2)
160
return new TextSpan(this.Position, Node.
FullWidth
);
177
Position + Node.
FullWidth
- Node.GetTrailingTriviaWidth());
Syntax\SyntaxTokenList.Enumerator.cs (1)
92
_position += _current.
FullWidth
;
Syntax\SyntaxTokenList.Reversed.cs (1)
113
_position -= _current.
FullWidth
;
Syntax\SyntaxTrivia.cs (2)
83
internal int FullWidth => UnderlyingNode?.
FullWidth
?? 0;
122
get { return UnderlyingNode != null ? new TextSpan(Position, UnderlyingNode.
FullWidth
) : default(TextSpan); }
Syntax\SyntaxTriviaList.cs (2)
158
return new TextSpan(this.Position, Node.
FullWidth
);
175
Position + Node.
FullWidth
- Node.GetTrailingTriviaWidth());
Syntax\SyntaxTriviaList.Enumerator.cs (2)
80
trailingPosition -= trailingGreen.
FullWidth
;
101
_position += _current.
FullWidth
;
Syntax\SyntaxTriviaList.Reversed.cs (1)
112
_position -= _current.
FullWidth
;