Base:
method
GetTrailingTrivia
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.VisualBasicSyntaxNode.GetTrailingTrivia()
77 references to GetTrailingTrivia
Microsoft.CodeAnalysis.VisualBasic (77)
Generated\Syntax.xml.Internal.Generated.vb (27)
25541
Return new KeywordSyntax(Me.Kind, GetDiagnostics, GetAnnotations, text, trivia,
GetTrailingTrivia
)
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
)
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)
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)
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)
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)
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)
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)
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)
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\BlockContexts\CompilationUnitContext.vb (2)
450
Dim trailingTrivia = _tokenWithDirectivesBeingVisited.
GetTrailingTrivia
()
540
Dim trailingTrivia = token.
GetTrailingTrivia
()
Parser\ParseInterpolatedString.vb (3)
197
formatStringToken.
GetTrailingTrivia
())
214
ElseIf formatStringToken.
GetTrailingTrivia
() IsNot Nothing Then
275
Dim triviaList As New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(token.
GetTrailingTrivia
())
Parser\Parser.vb (1)
5426
token.
GetTrailingTrivia
())
Parser\ParseScan.vb (1)
337
If PrevToken.
GetTrailingTrivia
().ContainsCommentTrivia() Then
Parser\ParseStatement.vb (3)
470
elseIfKeyword = New KeywordSyntax(SyntaxKind.ElseIfKeyword, MergeTokenText(elseKeyword, ifKeyword), elseKeyword.GetLeadingTrivia(), ifKeyword.
GetTrailingTrivia
())
896
intLiteral = New IntegerLiteralTokenSyntax(Of ULong)(SyntaxKind.IntegerLiteralToken, intLiteral.ToString, intLiteral.GetLeadingTrivia, intLiteral.
GetTrailingTrivia
, intLiteral.Base, TypeCharacter.None, intLiteralValue)
1582
Dim trivia = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(labelName.
GetTrailingTrivia
())
Parser\ParseXml.vb (9)
270
Dim hasPrecedingWhitespace = PrevToken.
GetTrailingTrivia
.ContainsWhitespaceTrivia() OrElse CurrentToken.GetLeadingTrivia.ContainsWhitespaceTrivia
891
slashToken.
GetTrailingTrivia
,
1459
If IsInvalidTrivia(token.GetLeadingTrivia) OrElse IsInvalidTrivia(token.
GetTrailingTrivia
) Then
1542
(PrevToken.
GetTrailingTrivia
.ContainsWhitespaceTrivia() OrElse CurrentToken.GetLeadingTrivia.ContainsWhitespaceTrivia)
1611
Dim trailingTrivia = New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(localName.
GetTrailingTrivia
())
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
())
1858
Not name.
GetTrailingTrivia
.ContainsWhitespaceTrivia() AndAlso
2377
trailingTrivia = token.
GetTrailingTrivia
Scanner\Blender.vb (1)
63
Dim trivia = tk.
GetTrailingTrivia
Scanner\Directives.vb (1)
163
trivia = tk.
GetTrailingTrivia
Scanner\TokenFactories.vb (3)
269
keyword.
GetTrailingTrivia
)
324
identifier.
GetTrailingTrivia
)
333
xmlName.
GetTrailingTrivia
)
Scanner\TokenStream.vb (2)
324
Dim trivia = New CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(tk.
GetTrailingTrivia
())
348
Dim trivia = New CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(tk.
GetTrailingTrivia
())
Syntax\InternalSyntax\BadTokenSyntax.vb (3)
32
Return New BadTokenSyntax(Kind, SubKind, GetDiagnostics, GetAnnotations, Text, trivia,
GetTrailingTrivia
)
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 (3)
77
Return New ComplexIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations, Text, trivia,
GetTrailingTrivia
, 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 (1)
32
WriteInteriorXml(New CodeAnalysis.Syntax.InternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(tk.
GetTrailingTrivia
), sb)
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (3)
53
Return New SimpleIdentifierSyntax(Kind, GetDiagnostics, GetAnnotations, Text, trivia,
GetTrailingTrivia
)
61
Return New SimpleIdentifierSyntax(Kind, newErrors, GetAnnotations, Text, GetLeadingTrivia,
GetTrailingTrivia
)
65
Return New SimpleIdentifierSyntax(Kind, GetDiagnostics, annotations, Text, GetLeadingTrivia,
GetTrailingTrivia
)
Syntax\InternalSyntax\SyntaxLiterals.vb (6)
84
Return New IntegerLiteralTokenSyntax(Of T)(Kind, GetDiagnostics, GetAnnotations, Text, trivia,
GetTrailingTrivia
, _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)
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\SyntaxNode.vb (1)
112
Return possibleLastChild.
GetTrailingTrivia
()
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (2)
508
If token.HasTrailingTrivia() AndAlso (isLast OrElse isMissing OrElse TriviaListContainsStructuredTrivia(token.
GetTrailingTrivia
())) Then
509
trailingTrivia = token.
GetTrailingTrivia
()
Syntax\InternalSyntax\SyntaxToken.vb (5)
216
Dim trailingTrivia =
GetTrailingTrivia
()
236
Dim trailingTrivia =
GetTrailingTrivia
()
377
Dim oldTrivia = New CoreInternalSyntax.SyntaxList(Of VisualBasicSyntaxNode)(token.
GetTrailingTrivia
())
437
If Me.HasTrailingTrivia AndAlso Not Me.
GetTrailingTrivia
().IsEquivalentTo(otherToken.
GetTrailingTrivia
()) Then