107 references to Text
Microsoft.CodeAnalysis.VisualBasic (107)
Generated\Syntax.xml.Internal.Generated.vb (36)
25541
Return new KeywordSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia)
25545
Return new KeywordSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia)
25549
Return new KeywordSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia)
25553
Return new KeywordSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia)
25580
Return new PunctuationSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia)
25584
Return new PunctuationSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia)
25588
Return new PunctuationSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia)
25592
Return new PunctuationSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia)
25628
Return new XmlNameTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _possibleKeywordKind)
25632
Return new XmlNameTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _possibleKeywordKind)
25636
Return new XmlNameTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _possibleKeywordKind)
25640
Return new XmlNameTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _possibleKeywordKind)
25681
Return new XmlTextTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _value)
25685
Return new XmlTextTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _value)
25689
Return new XmlTextTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25693
Return new XmlTextTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25732
Return new InterpolatedStringTextTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _value)
25736
Return new InterpolatedStringTextTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _value)
25740
Return new InterpolatedStringTextTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25744
Return new InterpolatedStringTextTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25797
Return new DecimalLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _typeSuffix, _value)
25801
Return new DecimalLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _typeSuffix, _value)
25805
Return new DecimalLiteralTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _typeSuffix, _value)
25809
Return new DecimalLiteralTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _typeSuffix, _value)
25848
Return new DateLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _value)
25852
Return new DateLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _value)
25856
Return new DateLiteralTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25860
Return new DateLiteralTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25900
Return new StringLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _value)
25904
Return new StringLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _value)
25908
Return new StringLiteralTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25912
Return new StringLiteralTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25951
Return new CharacterLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, trivia, GetTrailingTrivia, _value)
25955
Return new CharacterLiteralTokenSyntax(Me.Kind, GetDiagnostics, GetAnnotations,
text
, GetLeadingTrivia, trivia, _value)
25959
Return new CharacterLiteralTokenSyntax(Me.Kind, newErrors, GetAnnotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
25963
Return new CharacterLiteralTokenSyntax(Me.Kind, GetDiagnostics, annotations,
text
, GetLeadingTrivia, GetTrailingTrivia, _value)
Parser\ParseExpression.vb (1)
517
Dim spelling = tk.
Text
Parser\ParseInterpolatedString.vb (1)
194
formatStringToken = InternalSyntaxFactory.InterpolatedStringTextToken(excessText & formatStringToken.
Text
,
Parser\ParseQuery.vb (4)
539
Debug.Assert(CurrentToken.
Text
= contextualKeyword.
Text
)
1232
Debug.Assert(pToken.
Text
Is PeekToken(1).
Text
)
Parser\Parser.vb (2)
5405
Dim tokenText = token.
Text
5406
Dim tokenLength = token.
Text
.Length
Parser\ParseTerminal.vb (1)
65
If (CurrentToken.Kind = SyntaxKind.BadToken AndAlso CurrentToken.
Text
= "_") Then
Parser\ParseXml.vb (29)
760
prefix = name.Prefix.Name.
Text
763
localName = name.LocalName.
Text
892
lessThan.
Text
& slashToken.
Text
),
1036
If DocumentationCommentXmlNames.ElementEquals(xmlName.LocalName.
Text
, name, True) Then
1052
Not DocumentationCommentXmlNames.AttributeEquals(xmlName.LocalName.
Text
,
1064
state = If(CurrentToken.
Text
= "'"c, ScannerState.SingleQuotedString, ScannerState.SmartSingleQuotedString)
1067
state = If(CurrentToken.
Text
= """"c, ScannerState.QuotedString, ScannerState.SmartQuotedString)
1082
Dim text As String = nextToken.
Text
.Trim()
1370
Not DocumentationCommentXmlNames.AttributeEquals(xmlName.LocalName.
Text
,
1387
state = If(CurrentToken.
Text
= "'"c, ScannerState.SingleQuotedString, ScannerState.SmartSingleQuotedString)
1390
state = If(CurrentToken.
Text
= """"c, ScannerState.QuotedString, ScannerState.SmartQuotedString)
1619
localName = SyntaxFactory.XmlNameToken(localName.
Text
, localName.PossibleKeywordKind, localName.GetLeadingTrivia(), trailingTrivia.Node).WithDiagnostics(localName.GetDiagnostics())
1653
Dim name = SyntaxFactory.XmlNameToken(id.
Text
, id.PossibleKeywordKind, token.GetLeadingTrivia(), token.GetTrailingTrivia())
1667
Return SyntaxFactory.XmlNameToken(token.
Text
, token.Kind, token.GetLeadingTrivia(), token.GetTrailingTrivia())
1847
If name.
Text
.Length = 3 AndAlso String.Equals(name.
Text
, "xml", StringComparison.OrdinalIgnoreCase) Then
1848
name = ReportSyntaxError(name, ERRID.ERR_IllegalProcessingInstructionName, name.
Text
)
1924
If textToken.
Text
.Length = 2 AndAlso textToken.
Text
= "--" Then
1949
state = If(CurrentToken.
Text
= "'"c, ScannerState.SingleQuotedString, ScannerState.SmartSingleQuotedString)
1953
state = If(CurrentToken.
Text
= """"c, ScannerState.QuotedString, ScannerState.SmartQuotedString)
2393
Return New XmlNameTokenSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, node.
Text
, leadingTrivia, trailingTrivia, node.PossibleKeywordKind)
2398
Return New KeywordSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, node.
Text
, leadingTrivia, trailingTrivia)
2407
Return New PunctuationSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, node.
Text
, leadingTrivia, trailingTrivia)
2502
If startName.LocalName.
Text
= name.LocalName.
Text
Then
2512
If startPrefix.Name.
Text
= endPrefix.Name.
Text
Then
Scanner\TokenFactories.vb (4)
263
Return MakeIdentifier(keyword.
Text
,
266
keyword.
Text
,
322
identifier.
Text
,
331
xmlName.
Text
,
Syntax\InternalSyntax\BadTokenSyntax.vb (4)
32
Return New BadTokenSyntax(Kind, SubKind, GetDiagnostics, GetAnnotations,
Text
, trivia, GetTrailingTrivia)
36
Return New BadTokenSyntax(Kind, SubKind, GetDiagnostics, GetAnnotations,
Text
, GetLeadingTrivia, trivia)
40
Return New BadTokenSyntax(Kind, SubKind, newErrors, GetAnnotations,
Text
, GetLeadingTrivia, GetTrailingTrivia)
44
Return New BadTokenSyntax(Kind, SubKind, GetDiagnostics, annotations,
Text
, GetLeadingTrivia, GetTrailingTrivia)
Syntax\InternalSyntax\ComplexIdentifierSyntax.vb (4)
77
Return New ComplexIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations,
Text
, trivia, GetTrailingTrivia, PossibleKeywordKind, IsBracketed, IdentifierText, TypeCharacter)
81
Return New ComplexIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations,
Text
, GetLeadingTrivia, trivia, PossibleKeywordKind, IsBracketed, IdentifierText, TypeCharacter)
85
Return New ComplexIdentifierSyntax(Kind, newErrors, GetAnnotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, PossibleKeywordKind, IsBracketed, IdentifierText, TypeCharacter)
89
Return New ComplexIdentifierSyntax(Kind, GetDiagnostics, annotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, PossibleKeywordKind, IsBracketed, IdentifierText, TypeCharacter)
Syntax\InternalSyntax\DocumentationCommentTriviaSyntax.vb (2)
38
Dim txt = node.
Text
40
sb.Append(node.
Text
)
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (5)
37
Return Me.
Text
53
Return New SimpleIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations,
Text
, trivia, GetTrailingTrivia)
57
Return New SimpleIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations,
Text
, GetLeadingTrivia, trivia)
61
Return New SimpleIdentifierSyntax(Kind, newErrors, GetAnnotations,
Text
, GetLeadingTrivia, GetTrailingTrivia)
65
Return New SimpleIdentifierSyntax(Kind, GetDiagnostics, annotations,
Text
, GetLeadingTrivia, GetTrailingTrivia)
Syntax\InternalSyntax\SyntaxLiterals.vb (8)
84
Return New IntegerLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, GetAnnotations,
Text
, trivia, GetTrailingTrivia, _base, _typeSuffix, _value)
88
Return New IntegerLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, GetAnnotations,
Text
, GetLeadingTrivia, trivia, _base, _typeSuffix, _value)
92
Return New IntegerLiteralTokenSyntax(Of T)(Kind, newErrors, GetAnnotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, _base, _typeSuffix, _value)
96
Return New IntegerLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, annotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, _base, _typeSuffix, _value)
182
Return New FloatingLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, GetAnnotations,
Text
, trivia, GetTrailingTrivia, _typeSuffix, _value)
186
Return New FloatingLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, GetAnnotations,
Text
, GetLeadingTrivia, trivia, _typeSuffix, _value)
190
Return New FloatingLiteralTokenSyntax(Of T)(Kind, newErrors, GetAnnotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, _typeSuffix, _value)
194
Return New FloatingLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, annotations,
Text
, GetLeadingTrivia, GetTrailingTrivia, _typeSuffix, _value)
Syntax\InternalSyntax\SyntaxToken.vb (6)
145
If
Text
.Length = 0 AndAlso Kind <> SyntaxKind.EndOfFileToken AndAlso Kind <> SyntaxKind.EmptyToken Then
233
writer.Write(Me.
Text
) 'Append text of token itself
278
Return
Text
424
If Not String.Equals(Me.
Text
, otherToken.
Text
, StringComparison.Ordinal) Then
477
Return Me.
Text