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