25 references to Literal
Microsoft.CodeAnalysis.VisualBasic (25)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
991Case BoundKind.Literal 2637Debug.Assert(item.Kind = BoundKind.Literal OrElse item.Kind = BoundKind.Interpolation)
Binding\Binder_InterpolatedString.vb (1)
179Case BoundKind.Literal
BoundTree\BoundExpressionExtensions.vb (3)
361Return node.Kind = BoundKind.Literal AndAlso 459Debug.Assert(type IsNot Nothing OrElse node.Kind = BoundKind.Literal OrElse node.Kind = BoundKind.Parenthesized) 498Case BoundKind.Literal
BoundTree\BoundInterpolatedStringExpression.vb (1)
41Debug.Assert(Not Contents.Where(Function(content) content.Kind <> BoundKind.Interpolation AndAlso content.Kind <> BoundKind.Literal).Any())
BoundTree\BoundTreeVisitor.vb (1)
93Case BoundKind.Literal
Generated\BoundNodes.xml.Generated.vb (3)
5901MyBase.New(BoundKind.Literal, syntax, type, hasErrors) 5914MyBase.New(BoundKind.Literal, syntax, type) 9556Case BoundKind.Literal
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (2)
385Case BoundKind.Literal 558Case BoundKind.Literal
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
408Case BoundKind.Literal
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
262Case BoundKind.Literal,
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
185Case BoundKind.Literal
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
62BoundKind.Literal
Lowering\LocalRewriter\LocalRewriter_Constant.vb (1)
28Return If(node.Kind = BoundKind.Literal, node, New BoundLiteral(node.Syntax, constantValue, node.Type, hasErrors:=constantValue.IsBad))
Lowering\Rewriter.vb (1)
78If node.Kind = BoundKind.Literal Then
Lowering\UseTwiceRewriter.vb (4)
174kind = BoundKind.Literal Then 186Debug.Assert(value.Kind <> BoundKind.Literal) 509(result.Second.Kind = BoundKind.Literal AndAlso result.First.ConstantValueOpt IsNot Nothing) OrElse 539Debug.Assert(boundArray.Bounds.All(Function(expr) expr.Kind = BoundKind.Literal))
Lowering\WithExpressionRewriter.vb (2)
151BoundKind.Literal, 166Debug.Assert(value.Kind <> BoundKind.Literal)