3 writes to Node
Microsoft.CodeAnalysis (3)
Syntax\SyntaxTriviaList.cs (3)
32
Node
= node;
40
Node
= node;
48
Node
= trivia.UnderlyingNode;
31 references to Node
Microsoft.CodeAnalysis (31)
Syntax\SyntaxTriviaList.cs (28)
67
: this(default, SyntaxTriviaListBuilder.Create(trivias).
Node
, 0, 0)
109
get { return
Node
== null ? 0 : (
Node
.IsList ?
Node
.SlotCount : 1); }
128
if (
Node
!= null)
130
if (
Node
.IsList)
132
if (unchecked((uint)index < (uint)
Node
.SlotCount))
134
return new SyntaxTrivia(Token,
Node
.GetSlot(index), Position +
Node
.GetSlotOffset(index), Index + index);
139
return new SyntaxTrivia(Token,
Node
, Position, Index);
154
if (
Node
== null)
159
return new TextSpan(this.Position,
Node
.FullWidth);
170
if (
Node
== null)
175
return TextSpan.FromBounds(Position +
Node
.GetLeadingTriviaWidth(),
176
Position +
Node
.FullWidth -
Node
.GetTrailingTriviaWidth());
215
return
Node
!= null;
430
if (
Node
== null)
440
if (
Node
== null)
453
Debug.Assert(
Node
is object);
454
return GetGreenNodeAt(
Node
, i);
465
return
Node
== other.
Node
&& Index == other.Index && Token.Equals(other.Token);
485
return Hash.Combine(Token.GetHashCode(), Hash.Combine(
Node
, Index));
522
return
Node
!= null ?
Node
.ToString() : string.Empty;
527
return
Node
!= null ?
Node
.ToFullString() : string.Empty;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
30
_singleNodeOrList = list.
Node
;
Syntax\SyntaxTriviaList.Reversed.cs (2)
85
if (list.
Node
is object)
88
_singleNodeOrList = list.
Node
;