1 write to _node
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrTokenList.cs (1)
45_node = node;
25 references to _node
Microsoft.CodeAnalysis (25)
Syntax\SyntaxNodeOrTokenList.cs (25)
114internal SyntaxNode? Node => _node; 116internal int Position => _node?.Position ?? 0; 118internal SyntaxNode? Parent => _node?.Parent; 125get { return _node == null ? 0 : _node.Green.IsList ? _node.SlotCount : 1; } 136if (_node != null) 138if (!_node.IsList) 142return _node; 147if (unchecked((uint)index < (uint)_node.SlotCount)) 149var green = _node.Green.GetRequiredSlot(index); 152return new SyntaxToken(this.Parent, green, _node.GetChildPosition(index), this.index + index); 155return _node.GetRequiredNodeSlot(index); 167public TextSpan FullSpan => _node?.FullSpan ?? default(TextSpan); 172public TextSpan Span => _node?.Span ?? default(TextSpan); 184return _node != null 185? _node.ToString() 199return _node != null 200? _node.ToFullString() 267return _node != null; 453return _node == null 466return _node == null 507return _node == other._node; 530return _node?.GetHashCode() ?? 0;