2 writes to Node
Microsoft.CodeAnalysis (2)
Syntax\SyntaxTokenList.cs (2)
35Node = tokenOrList; 43Node = token.Node;
32 references to Node
Microsoft.CodeAnalysis (32)
Syntax\SyntaxListBuilder.cs (2)
144Debug.Assert(list.Node is object); 145this.AddRange(new SyntaxList<SyntaxNode>(list.Node.CreateRed()), offset, length);
Syntax\SyntaxTokenList.cs (28)
107return builder.ToList().Node; 117public int Count => Node == null ? 0 : (Node.IsList ? Node.SlotCount : 1); 130if (Node != null) 132if (Node.IsList) 134if (unchecked((uint)index < (uint)Node.SlotCount)) 136return new SyntaxToken(_parent, Node.GetSlot(index), Position + Node.GetSlotOffset(index), _index + index); 141return new SyntaxToken(_parent, Node, Position, _index); 156if (Node == null) 161return new TextSpan(this.Position, Node.FullWidth); 172if (Node == null) 177return TextSpan.FromBounds(Position + Node.GetLeadingTriviaWidth(), 178Position + Node.FullWidth - Node.GetTrailingTriviaWidth()); 192return Node != null ? Node.ToString() : string.Empty; 205return Node != null ? Node.ToFullString() : string.Empty; 244return Node != null; 271Debug.Assert(Node is object); 272return GetGreenNodeAt(Node, i); 456if (Node == null) 466if (Node == null) 498return Node == other.Node && _parent == other._parent && _index == other._index; 516return Hash.Combine(Node, _index);
Syntax\SyntaxTokenList.Enumerator.cs (1)
63_singleNodeOrList = list.Node;
Syntax\SyntaxTokenList.Reversed.cs (1)
89_singleNodeOrList = list.Node;