3 writes to Node
Microsoft.CodeAnalysis (3)
Syntax\SyntaxTriviaList.cs (3)
31
Node
= node;
39
Node
= node;
47
Node
= trivia.UnderlyingNode;
31 references to Node
Microsoft.CodeAnalysis (31)
Syntax\SyntaxTriviaList.cs (28)
66
: this(default, SyntaxTriviaListBuilder.Create(trivias).
Node
, 0, 0)
108
get { return
Node
== null ? 0 : (
Node
.IsList ?
Node
.SlotCount : 1); }
127
if (
Node
!= null)
129
if (
Node
.IsList)
131
if (unchecked((uint)index < (uint)
Node
.SlotCount))
133
return new SyntaxTrivia(Token,
Node
.GetSlot(index), Position +
Node
.GetSlotOffset(index), Index + index);
138
return new SyntaxTrivia(Token,
Node
, Position, Index);
153
if (
Node
== null)
158
return new TextSpan(this.Position,
Node
.FullWidth);
169
if (
Node
== null)
174
return TextSpan.FromBounds(Position +
Node
.GetLeadingTriviaWidth(),
175
Position +
Node
.FullWidth -
Node
.GetTrailingTriviaWidth());
214
return
Node
!= null;
429
if (
Node
== null)
439
if (
Node
== null)
452
Debug.Assert(
Node
is object);
453
return GetGreenNodeAt(
Node
, i);
464
return
Node
== other.
Node
&& Index == other.Index && Token.Equals(other.Token);
484
return Hash.Combine(Token.GetHashCode(), Hash.Combine(
Node
, Index));
521
return
Node
!= null ?
Node
.ToString() : string.Empty;
526
return
Node
!= null ?
Node
.ToFullString() : string.Empty;
Syntax\SyntaxTriviaList.Enumerator.cs (1)
30
_singleNodeOrList = list.
Node
;
Syntax\SyntaxTriviaList.Reversed.cs (2)
84
if (list.
Node
is object)
87
_singleNodeOrList = list.
Node
;