4 writes to _diagnosticsToAdd
Microsoft.CodeAnalysis.VisualBasic (4)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (4)
475
_diagnosticsToAdd
= Nothing ' only add once.
489
Me.
_diagnosticsToAdd
= diagnosticsToAdd
518
_diagnosticsToAdd
= _diagnosticsToAdd.Concat(token.GetDiagnostics())
520
_diagnosticsToAdd
= token.GetDiagnostics()
7 references to _diagnosticsToAdd
Microsoft.CodeAnalysis.VisualBasic (7)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (7)
471
If
_diagnosticsToAdd
IsNot Nothing Then
472
For Each d In
_diagnosticsToAdd
517
If
_diagnosticsToAdd
IsNot Nothing Then
518
_diagnosticsToAdd =
_diagnosticsToAdd
.Concat(token.GetDiagnostics())
541
If
_diagnosticsToAdd
IsNot Nothing AndAlso
_diagnosticsToAdd
.Any() Then
544
_triviaListBuilder(_triviaListBuilder.Count - 1) = _triviaListBuilder(_triviaListBuilder.Count - 1).WithAdditionalDiagnostics(
_diagnosticsToAdd
.ToArray())