45 references to BoundLiteral
Microsoft.CodeAnalysis.VisualBasic (45)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1378
Public Overrides Function VisitLiteral(node As
BoundLiteral
) As BoundNode
Binding\Binder_Expressions.vb (1)
4449
Private Function BindLiteralConstant(node As LiteralExpressionSyntax, diagnostics As BindingDiagnosticBag) As
BoundLiteral
Binding\Binder_InterpolatedString.vb (2)
36
Private Function BindInterpolatedStringText(syntax As InterpolatedStringTextSyntax, diagnostics As BindingDiagnosticBag) As
BoundLiteral
181
formatStringBuilderHandle.Builder.Append(DirectCast(item,
BoundLiteral
).Value.StringValue)
Binding\Binder_Invocation.vb (1)
3175
Dim literal As
BoundLiteral
Binding\Binder_XmlLiterals.vb (4)
68
Private Function BindXmlDeclarationOption(syntax As XmlDeclarationSyntax, optionSyntax As XmlDeclarationOptionSyntax, diagnostics As BindingDiagnosticBag) As
BoundLiteral
784
Dim namespaceExpr As
BoundLiteral
924
Private Function BindXmlText(syntax As XmlTextSyntax, diagnostics As BindingDiagnosticBag) As
BoundLiteral
1055
Optional hasErrors As Boolean = False) As
BoundLiteral
BoundTree\BoundExpressionExtensions.vb (4)
362
IsIntegerZeroLiteral(DirectCast(node,
BoundLiteral
))
370
Public Function IsIntegerZeroLiteral(node As
BoundLiteral
) As Boolean
472
Public Function IsNothingLiteral(node As
BoundLiteral
) As Boolean
499
Return IsNothingLiteral(DirectCast(node,
BoundLiteral
))
BoundTree\BoundTreeVisitor.vb (1)
94
Return VisitLiteral(CType(node,
BoundLiteral
), arg)
Generated\BoundNodes.xml.Generated.vb (19)
5936
Public Function Update(value As ConstantValue, type As TypeSymbol) As
BoundLiteral
8288
Public Sub New(syntax As SyntaxNode, value As
BoundLiteral
, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False)
8300
Private ReadOnly _Value As
BoundLiteral
8301
Public ReadOnly Property Value As
BoundLiteral
8319
Public Function Update(value As
BoundLiteral
, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlCData
9290
Public Sub New(syntax As SyntaxNode, expression As BoundExpression, alignmentOpt As BoundExpression, formatStringOpt As
BoundLiteral
, Optional hasErrors As Boolean = False)
9315
Private ReadOnly _FormatStringOpt As
BoundLiteral
9316
Public ReadOnly Property FormatStringOpt As
BoundLiteral
9327
Public Function Update(expression As BoundExpression, alignmentOpt As BoundExpression, formatStringOpt As
BoundLiteral
) As BoundInterpolation
9557
Return VisitLiteral(CType(node,
BoundLiteral
), arg)
10127
Public Overridable Function VisitLiteral(node As
BoundLiteral
, arg As A) As R
10830
Public Overridable Function VisitLiteral(node As
BoundLiteral
) As BoundNode
11689
Public Overrides Function VisitLiteral(node As
BoundLiteral
) As BoundNode
12717
Public Overrides Function VisitLiteral(node As
BoundLiteral
) As BoundNode
13009
Dim value As
BoundLiteral
= DirectCast(Me.Visit(node.Value),
BoundLiteral
)
13136
Dim formatStringOpt As
BoundLiteral
= DirectCast(Me.Visit(node.FormatStringOpt),
BoundLiteral
)
14053
Public Overrides Function VisitLiteral(node As
BoundLiteral
, arg As Object) As TreeDumperNode
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (1)
44
Dim valueWithEscapes = DirectCast(node.Contents(0),
BoundLiteral
).Value.StringValue
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (4)
547
Dim name As
BoundLiteral
= MakeStringLiteral(syntax, memberAccess.NameOpt, lateSetMethod.Parameters(2).Type)
788
Dim name As
BoundLiteral
= MakeStringLiteral(syntax, memberAccess.NameOpt, lateCallOrGetMethod.Parameters(2).Type)
920
stringType As TypeSymbol) As
BoundLiteral
931
booleanType As TypeSymbol) As
BoundLiteral
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
504
Private Shared Function MakeNullLiteral(syntax As SyntaxNode, type As TypeSymbol) As
BoundLiteral
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
325
Private Function CreateStringLiteral(syntax As SyntaxNode, str As String) As
BoundLiteral
Lowering\SyntheticBoundNodeFactory.vb (5)
442
Public Function Literal(value As Boolean) As
BoundLiteral
448
Public Function Literal(value As Integer) As
BoundLiteral
454
Public Function Literal(value As StateMachineState) As
BoundLiteral
761
Public Function Literal(value As String) As
BoundLiteral
767
Public Function StringLiteral(value As ConstantValue) As
BoundLiteral