30 references to LiteralBase
Microsoft.CodeAnalysis.VisualBasic (30)
Scanner\Scanner.vb (20)
1701Dim base As LiteralBase = LiteralBase.Decimal 1720base = LiteralBase.Hexadecimal 1741base = LiteralBase.Binary 1762base = LiteralBase.Octal 1812If base = LiteralBase.Decimal AndAlso CanGet(here) Then 1878If base = LiteralBase.Decimal Then 1885If base = LiteralBase.Decimal Then 1892If base = LiteralBase.Decimal Then 1899If base = LiteralBase.Decimal Then 1937If base = LiteralBase.Decimal Then 1944If base = LiteralBase.Decimal Then 2000If base = LiteralBase.Decimal Then 2023Dim Shift As Integer = If(base = LiteralBase.Hexadecimal, 4, If(Base = LiteralBase.Octal, 3, 1)) 2024Dim OverflowMask As UInt64 = If(base = LiteralBase.Hexadecimal, &HF000000000000000UL, If(base = LiteralBase.Octal, &HE000000000000000UL, &H8000000000000000UL)) 2044If (base = LiteralBase.Decimal AndAlso integralValue > &H7FFFFFFF) OrElse 2056If (base = LiteralBase.Decimal AndAlso integralValue > &H7FFF) OrElse 2131If base = LiteralBase.Binary Then
Scanner\TokenFactories.vb (1)
624base As LiteralBase,
Syntax\InternalSyntax\SyntaxLiterals.vb (6)
52Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter, value As T) 57Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter, value As T) 106Friend ReadOnly _base As LiteralBase 109Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter) 115Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, base As LiteralBase, typeSuffix As TypeCharacter) 124Friend ReadOnly Property Base As LiteralBase
Syntax\InternalSyntax\SyntaxNodeFactories.vb (3)
19Friend Shared Function IntegerLiteralToken(text As String, base As LiteralBase, typeSuffix As TypeCharacter, value As ULong, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As IntegerLiteralTokenSyntax 43If base = LiteralBase.Decimal Then 142Return IntegerLiteralToken("", LiteralBase.Decimal, TypeCharacter.None, Nothing, Nothing, Nothing)