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