26 references to Literal
Microsoft.CodeAnalysis.VisualBasic (26)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
982Case BoundKind.Literal 2621Debug.Assert(item.Kind = BoundKind.Literal OrElse item.Kind = BoundKind.Interpolation)
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)
5882MyBase.New(BoundKind.Literal, syntax, type, hasErrors) 5895MyBase.New(BoundKind.Literal, syntax, type) 9522Case BoundKind.Literal
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (2)
359Case BoundKind.Literal 532Case BoundKind.Literal
Lowering\AsyncRewriter\AsyncRewriter.vb (1)
408Case BoundKind.Literal
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
257Case BoundKind.Literal,
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
185Case BoundKind.Literal
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
67BoundKind.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\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
126Case BoundKind.Literal
Lowering\Rewriter.vb (1)
77If node.Kind = BoundKind.Literal Then
Lowering\UseTwiceRewriter.vb (4)
172kind = BoundKind.Literal Then 184Debug.Assert(value.Kind <> BoundKind.Literal) 472(result.Second.Kind = BoundKind.Literal AndAlso result.First.ConstantValueOpt IsNot Nothing) OrElse 502Debug.Assert(boundArray.Bounds.All(Function(expr) expr.Kind = BoundKind.Literal))
Lowering\WithExpressionRewriter.vb (2)
144BoundKind.Literal, 159Debug.Assert(value.Kind <> BoundKind.Literal)
Operations\VisualBasicOperationFactory.vb (1)
73Case BoundKind.Literal