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