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)
5936Public Function Update(value As ConstantValue, type As TypeSymbol) As BoundLiteral 8288Public Sub New(syntax As SyntaxNode, value As BoundLiteral, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8300Private ReadOnly _Value As BoundLiteral 8301Public ReadOnly Property Value As BoundLiteral 8319Public Function Update(value As BoundLiteral, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlCData 9290Public Sub New(syntax As SyntaxNode, expression As BoundExpression, alignmentOpt As BoundExpression, formatStringOpt As BoundLiteral, Optional hasErrors As Boolean = False) 9315Private ReadOnly _FormatStringOpt As BoundLiteral 9316Public ReadOnly Property FormatStringOpt As BoundLiteral 9327Public Function Update(expression As BoundExpression, alignmentOpt As BoundExpression, formatStringOpt As BoundLiteral) As BoundInterpolation 9557Return VisitLiteral(CType(node, BoundLiteral), arg) 10127Public Overridable Function VisitLiteral(node As BoundLiteral, arg As A) As R 10830Public Overridable Function VisitLiteral(node As BoundLiteral) As BoundNode 11689Public Overrides Function VisitLiteral(node As BoundLiteral) As BoundNode 12717Public Overrides Function VisitLiteral(node As BoundLiteral) As BoundNode 13009Dim value As BoundLiteral = DirectCast(Me.Visit(node.Value), BoundLiteral) 13136Dim formatStringOpt As BoundLiteral = DirectCast(Me.Visit(node.FormatStringOpt), BoundLiteral) 14053Public 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