116 references to TypeCharacter
Microsoft.CodeAnalysis.VisualBasic (116)
Generated\Syntax.xml.Internal.Generated.vb (7)
25755
Friend ReadOnly _typeSuffix as
TypeCharacter
25758
Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
, value As System.Decimal)
25764
Friend Sub New(ByVal kind As SyntaxKind, text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
, value As System.Decimal, context As ISyntaxFactoryContext)
25771
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), text as String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
, value As System.Decimal)
25781
Friend ReadOnly Property TypeSuffix As
TypeCharacter
45406
Friend Shared Function DecimalLiteralToken(text as String, typeSuffix As
TypeCharacter
, value As System.Decimal, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As DecimalLiteralTokenSyntax
57472
Friend Function DecimalLiteralToken(text as String, typeSuffix As
TypeCharacter
, value As System.Decimal, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As DecimalLiteralTokenSyntax
Parser\ParseConditional.vb (1)
408
ElseIf errorCode.Identifier.TypeCharacter <>
TypeCharacter
.None Then
Parser\Parser.vb (2)
2909
(DirectCast(CurrentToken, IdentifierTokenSyntax).TypeCharacter <>
TypeCharacter
.None OrElse
4788
If aliasIdentifier.TypeCharacter <>
TypeCharacter
.None Then
Parser\ParseStatement.vb (3)
877
If ident.TypeCharacter <>
TypeCharacter
.None Then
889
If intLiteral.TypeSuffix =
TypeCharacter
.None Then
896
intLiteral = New IntegerLiteralTokenSyntax(Of ULong)(SyntaxKind.IntegerLiteralToken, intLiteral.ToString, intLiteral.GetLeadingTrivia, intLiteral.GetTrailingTrivia, intLiteral.Base,
TypeCharacter
.None, intLiteralValue)
Preprocessor\ExpressionEvaluator.vb (16)
293
If typeChar <>
TypeCharacter
.None AndAlso typeChar <> AsTypeCharacter(value.SpecialType) Then
300
Private Shared Function GetDisplayString(typeChar As
TypeCharacter
) As String
302
Case
TypeCharacter
.Integer
305
Case
TypeCharacter
.Long
308
Case
TypeCharacter
.Decimal
311
Case
TypeCharacter
.Single
314
Case
TypeCharacter
.Double
317
Case
TypeCharacter
.String
325
Private Shared Function AsTypeCharacter(specialType As SpecialType) As
TypeCharacter
328
Return
TypeCharacter
.Integer
331
Return
TypeCharacter
.Long
334
Return
TypeCharacter
.Decimal
337
Return
TypeCharacter
.Single
340
Return
TypeCharacter
.Double
343
Return
TypeCharacter
.String
346
Return
TypeCharacter
.None
Scanner\Scanner.vb (39)
1533
Dim TypeCharacter As
TypeCharacter
=
TypeCharacter
.None
1549
TypeCharacter =
TypeCharacter
.Single 'typeChars.chType_sR4
1553
TypeCharacter =
TypeCharacter
.Double ' typeChars.chType_sR8
1557
TypeCharacter =
TypeCharacter
.String 'typeChars.chType_String
1561
TypeCharacter =
TypeCharacter
.Integer ' typeChars.chType_sI4
1565
TypeCharacter =
TypeCharacter
.Long 'typeChars.chType_sI8
1569
TypeCharacter =
TypeCharacter
.Decimal 'chType_sDecimal
1584
Dim baseSpelling = If(TypeCharacter =
TypeCharacter
.None,
1589
If TypeCharacter =
TypeCharacter
.None Then
1662
TypeCharacter
.None,
1870
Dim TypeCharacter As
TypeCharacter
=
TypeCharacter
.None
1879
TypeCharacter =
TypeCharacter
.Single
1886
TypeCharacter =
TypeCharacter
.SingleLiteral
1893
TypeCharacter =
TypeCharacter
.Double
1900
TypeCharacter =
TypeCharacter
.DoubleLiteral
1908
TypeCharacter =
TypeCharacter
.ShortLiteral
1914
TypeCharacter =
TypeCharacter
.Integer
1920
TypeCharacter =
TypeCharacter
.IntegerLiteral
1926
TypeCharacter =
TypeCharacter
.Long
1932
TypeCharacter =
TypeCharacter
.LongLiteral
1938
TypeCharacter =
TypeCharacter
.Decimal
1945
TypeCharacter =
TypeCharacter
.DecimalLiteral
1966
TypeCharacter =
TypeCharacter
.UShortLiteral
1969
TypeCharacter =
TypeCharacter
.UIntegerLiteral
1972
TypeCharacter =
TypeCharacter
.ULongLiteral
2019
If TypeCharacter <>
TypeCharacter
.ULongLiteral AndAlso integralValue > Long.MaxValue Then
2041
If TypeCharacter =
TypeCharacter
.None Then
2043
ElseIf TypeCharacter =
TypeCharacter
.Integer OrElse TypeCharacter =
TypeCharacter
.IntegerLiteral Then
2050
ElseIf TypeCharacter =
TypeCharacter
.UIntegerLiteral Then
2055
ElseIf TypeCharacter =
TypeCharacter
.ShortLiteral Then
2062
ElseIf TypeCharacter =
TypeCharacter
.UShortLiteral Then
2068
Debug.Assert(TypeCharacter =
TypeCharacter
.Long OrElse
2069
TypeCharacter =
TypeCharacter
.LongLiteral OrElse
2070
TypeCharacter =
TypeCharacter
.ULongLiteral,
2090
If TypeCharacter =
TypeCharacter
.Single OrElse TypeCharacter =
TypeCharacter
.SingleLiteral Then
Scanner\TokenFactories.vb (8)
247
TypeCharacter As
TypeCharacter
,
267
TypeCharacter
.None,
276
TypeCharacter As
TypeCharacter
,
289
TypeCharacter <>
TypeCharacter
.None Then
319
(identifier.TypeCharacter =
TypeCharacter
.None OrElse identifier.PossibleKeywordKind = SyntaxKind.MidKeyword))
625
typeCharacter As
TypeCharacter
,
684
typeCharacter As
TypeCharacter
,
710
typeCharacter As
TypeCharacter
,
Syntax\InternalSyntax\ComplexIdentifierSyntax.vb (3)
20
Private ReadOnly _typeCharacter As
TypeCharacter
22
Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, precedingTrivia As GreenNode, followingTrivia As GreenNode, possibleKeywordKind As SyntaxKind, isBracketed As Boolean, identifierText As String, typeCharacter As
TypeCharacter
)
70
Friend Overrides ReadOnly Property TypeCharacter As
TypeCharacter
Syntax\InternalSyntax\IdentifierTokenSyntax.vb (1)
58
Friend MustOverride ReadOnly Property TypeCharacter As
TypeCharacter
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (2)
46
Friend Overrides ReadOnly Property TypeCharacter As
TypeCharacter
48
Return
TypeCharacter
.None
Syntax\InternalSyntax\SyntaxLiterals.vb (12)
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)
107
Friend ReadOnly _typeSuffix As
TypeCharacter
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
)
134
Friend ReadOnly Property TypeSuffix As
TypeCharacter
150
Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
, value As T)
155
Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
, value As T)
204
Friend ReadOnly _typeSuffix As
TypeCharacter
206
Friend Sub New(kind As SyntaxKind, text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
)
211
Friend Sub New(kind As SyntaxKind, errors As DiagnosticInfo(), annotations As SyntaxAnnotation(), text As String, leadingTrivia As GreenNode, trailingTrivia As GreenNode, typeSuffix As
TypeCharacter
)
220
Friend ReadOnly Property TypeSuffix As
TypeCharacter
Syntax\InternalSyntax\SyntaxNodeFactories.vb (22)
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
22
Case
TypeCharacter
.ShortLiteral
25
Case
TypeCharacter
.UShortLiteral
28
Case
TypeCharacter
.IntegerLiteral,
TypeCharacter
.Integer
31
Case
TypeCharacter
.UIntegerLiteral
34
Case
TypeCharacter
.LongLiteral,
TypeCharacter
.Long
37
Case
TypeCharacter
.ULongLiteral
40
Case
TypeCharacter
.None
60
Friend Shared Function FloatingLiteralToken(text As String, typeSuffix As
TypeCharacter
, value As Double, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As FloatingLiteralTokenSyntax
63
Case
TypeCharacter
.DoubleLiteral,
TypeCharacter
.Double,
TypeCharacter
.None
65
Case
TypeCharacter
.SingleLiteral,
TypeCharacter
.Single
83
Friend Shared Function Identifier(text As String, possibleKeywordKind As SyntaxKind, isBracketed As Boolean, identifierText As String, typeCharacter As
TypeCharacter
, leadingTrivia As GreenNode, trailingTrivia As GreenNode) As IdentifierTokenSyntax
107
Return New ComplexIdentifierSyntax(SyntaxKind.IdentifierToken, Nothing, Nothing, "", Nothing, Nothing, kind, False, "",
TypeCharacter
.None)
142
Return IntegerLiteralToken("", LiteralBase.Decimal,
TypeCharacter
.None, Nothing, Nothing, Nothing)
401
t = SyntaxFactory.FloatingLiteralToken("",
TypeCharacter
.None, Nothing, Nothing, Nothing)
404
t = SyntaxFactory.DecimalLiteralToken("",
TypeCharacter
.None, Nothing, Nothing, Nothing)
466
Friend Shared Function Identifier(text As String, isBracketed As Boolean, baseText As String, typeCharacter As
TypeCharacter
, precedingTrivia As GreenNode, followingTrivia As GreenNode) As IdentifierTokenSyntax