22 references to Span
Microsoft.CodeAnalysis.Razor.Compiler (22)
Language\Syntax\ChildSyntaxList.cs (1)
215
Debug.Assert(node.
Span
.Contains(targetPosition));
Language\Syntax\SyntaxList`1.cs (2)
112
? TextSpan.FromBounds(this[0].
Span
.Start, this[Count - 1].
Span
.End)
Language\Syntax\SyntaxNode.cs (8)
185
if (!
Span
.Contains(position))
300
return DescendantNodesImpl(
Span
, descendIntoChildren, includeSelf: false);
319
return DescendantNodesImpl(
Span
, descendIntoChildren, includeSelf: true);
338
return DescendantNodesAndTokensImpl(
Span
, descendIntoChildren, includeSelf: false);
357
return DescendantNodesAndTokensImpl(
Span
, descendIntoChildren, includeSelf: true);
384
return DescendantNodesAndTokens(
Span
, descendIntoChildren)
460
if (!
Span
.Contains(position))
539
if (currentToken.Kind == SyntaxKind.None || currentToken.Span.End > this.
Span
.End)
Language\Syntax\SyntaxNode.Iterators.cs (5)
17
if (includeSelf && IsInSpan(in span,
Span
))
41
if (includeSelf && IsInSpan(in span,
Span
))
142
if (IsInSpan(in span, nodeValue.
Span
))
327
private readonly TextSpan _span = root.
Span
;
404
private readonly TextSpan _span = root.
Span
;
Language\Syntax\SyntaxNodeOrToken.cs (1)
176
return _nodeOrParent.
Span
;
Language\Syntax\SyntaxReplacer.cs (4)
90
_spanSet.Add(node.
Span
);
162
if (ShouldVisit(node.
Span
))
258
if (ShouldVisit(node.
Span
))
277
: base(originalNode.
Span
, editKind)
Language\Syntax\SyntaxSerializer.cs (1)
49
WriteSpan(node.
Span
);