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