5 references to GetLiteralExpression
Microsoft.CodeAnalysis.CSharp (3)
Parser\DirectiveParser.cs (1)
811
return SyntaxFactory.LiteralExpression(SyntaxFacts.
GetLiteralExpression
(k), this.EatToken());
Parser\LanguageParser.cs (1)
11487
return _syntaxFactory.LiteralExpression(SyntaxFacts.
GetLiteralExpression
(tk), this.EatToken());
Syntax\SyntaxKindFacts.cs (1)
566
return
GetLiteralExpression
(token) != SyntaxKind.None;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\ExpressionParsingTests.cs (1)
456
var opKind = SyntaxFacts.
GetLiteralExpression
(kind);
Syntax\SyntaxTests.cs (1)
244
Assert.Equal(expressionKind, SyntaxFacts.
GetLiteralExpression
(tokenKind));