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