4 references to GetLiteralExpression
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
840
return SyntaxFactory.LiteralExpression(SyntaxFacts.
GetLiteralExpression
(k), this.EatToken());
Parser\LanguageParser.cs (1)
12027
return _syntaxFactory.LiteralExpression(SyntaxFacts.
GetLiteralExpression
(tk), this.EatToken());
Parser\LanguageParser_InterpolatedString.cs (1)
20
var expressionKind = SyntaxFacts.
GetLiteralExpression
(originalToken.Kind);
Syntax\SyntaxKindFacts.cs (1)
592
return
GetLiteralExpression
(token) != SyntaxKind.None;