2 implementations of IsLiteralExpression
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxFacts.cs (1)
1544public bool IsLiteralExpression([NotNullWhen(true)] SyntaxNode? node)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
1739Public Function IsLiteralExpression(node As SyntaxNode) As Boolean Implements ISyntaxFacts.IsLiteralExpression
3 references to IsLiteralExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
AbstractMoveDeclarationNearReferenceService.cs (1)
211syntaxFacts.IsLiteralExpression(syntaxFacts.GetValueOfEqualsValueClause(initializer)))
SyntaxGeneratorExtensions_Negate.cs (1)
82if (syntaxFacts.IsLiteralExpression(expressionOrPattern))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
1739Public Function IsLiteralExpression(node As SyntaxNode) As Boolean Implements ISyntaxFacts.IsLiteralExpression