1 write to _token
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrToken.cs (1)
63_token = token;
56 references to _token
Microsoft.CodeAnalysis (56)
Syntax\SyntaxNodeOrToken.cs (56)
75if (_token != null) 77return _token.KindText; 92public int RawKind => _token?.RawKind ?? _nodeOrParent?.RawKind ?? 0; 101if (_token != null) 103return _token.Language; 121public bool IsMissing => _token?.IsMissing ?? _nodeOrParent?.IsMissing ?? false; 126public SyntaxNode? Parent => _token != null ? _nodeOrParent : _nodeOrParent?.Parent; 128internal GreenNode? UnderlyingNode => _token ?? _nodeOrParent?.Green; 160if (_token != null) 162return new SyntaxToken(_nodeOrParent, _token, this.Position, _tokenIndex); 189if (_token != null) 230if (_token != null) 254if (_token != null) 257return _position + _token.GetLeadingTriviaWidth(); 276if (_token != null) 278return new TextSpan(Position, _token.FullWidth); 300if (_token != null) 302return _token.ToString(); 321if (_token != null) 323return _token.ToFullString(); 339if (_token != null) 341_token.WriteTo(writer); 360if (_token != null) 384if (_token != null) 399if (_token != null) 419if (_token != null) 445if (_token != null) 447return _token.ContainsDiagnostics; 467if (_token != null) 487if (_token != null) 489return _token.ContainsDirectives; 509if (_token != null) 511return _token.ContainsAnnotations; 528if (_token != null) 530return _token.HasAnnotations(annotationKind); 546if (_token != null) 548return _token.HasAnnotations(annotationKinds); 564if (_token != null) 566return _token.HasAnnotation(annotation); 582if (_token != null) 584return _token.GetAnnotations(annotationKind); 600if (_token != null) 602return _token.GetAnnotations(annotationKinds); 631if (_token != null) 662if (_token != null) 703(_nodeOrParent == other._nodeOrParent && _token == other._token && _position == other._position && _tokenIndex == other._tokenIndex) == 704(_nodeOrParent == other._nodeOrParent && _token == other._token && _tokenIndex == other._tokenIndex)); 707_token == other._token && 741return Hash.Combine(_nodeOrParent, Hash.Combine(_token, _tokenIndex)); 852if (node._token != null) 854if (node._token.ContainsDirectives) 893internal int Width => _token?.Width ?? _nodeOrParent?.Width ?? 0; 895internal int FullWidth => _token?.FullWidth ?? _nodeOrParent?.FullWidth ?? 0;