24 references to TryAdvance
Microsoft.CodeAnalysis.CSharp (24)
Parser\Lexer.cs (24)
458
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.SlashEqualsToken : SyntaxKind.SlashToken;
506
info.Kind = TextWindow.
TryAdvance
(':') ? SyntaxKind.ColonColonToken : SyntaxKind.ColonToken;
521
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.ExclamationEqualsToken : SyntaxKind.ExclamationToken;
527
TextWindow.
TryAdvance
('=') ? SyntaxKind.EqualsEqualsToken :
528
TextWindow.
TryAdvance
('>') ? SyntaxKind.EqualsGreaterThanToken : SyntaxKind.EqualsToken;
533
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.AsteriskEqualsToken : SyntaxKind.AsteriskToken;
568
info.Kind = TextWindow.
TryAdvance
('?')
569
? TextWindow.
TryAdvance
('=') ? SyntaxKind.QuestionQuestionEqualsToken : SyntaxKind.QuestionQuestionToken
576
TextWindow.
TryAdvance
('=') ? SyntaxKind.PlusEqualsToken :
577
TextWindow.
TryAdvance
('+') ? SyntaxKind.PlusPlusToken : SyntaxKind.PlusToken;
583
TextWindow.
TryAdvance
('=') ? SyntaxKind.MinusEqualsToken :
584
TextWindow.
TryAdvance
('-') ? SyntaxKind.MinusMinusToken :
585
TextWindow.
TryAdvance
('>') ? SyntaxKind.MinusGreaterThanToken : SyntaxKind.MinusToken;
590
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.PercentEqualsToken : SyntaxKind.PercentToken;
596
TextWindow.
TryAdvance
('=') ? SyntaxKind.AmpersandEqualsToken :
597
TextWindow.
TryAdvance
('&') ? SyntaxKind.AmpersandAmpersandToken : SyntaxKind.AmpersandToken;
602
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.CaretEqualsToken : SyntaxKind.CaretToken;
608
TextWindow.
TryAdvance
('=') ? SyntaxKind.BarEqualsToken :
609
TextWindow.
TryAdvance
('|') ? SyntaxKind.BarBarToken : SyntaxKind.BarToken;
615
TextWindow.
TryAdvance
('=') ? SyntaxKind.LessThanEqualsToken :
616
TextWindow.
TryAdvance
('<')
617
? TextWindow.
TryAdvance
('=') ? SyntaxKind.LessThanLessThanEqualsToken : SyntaxKind.LessThanLessThanToken
623
info.Kind = TextWindow.
TryAdvance
('=') ? SyntaxKind.GreaterThanEqualsToken : SyntaxKind.GreaterThanToken;
2276
return TextWindow.
TryAdvance
('\n') ? SyntaxFactory.CarriageReturnLineFeed : SyntaxFactory.CarriageReturn;