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