2 overrides of GetDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
848
public override IEnumerable<Diagnostic>
GetDiagnostics
(SyntaxNodeOrToken nodeOrToken)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
350
Public Overrides Function
GetDiagnostics
(nodeOrToken As SyntaxNodeOrToken) As IEnumerable(Of Diagnostic)
5 references to GetDiagnostics
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
1805
Assert.Equal(0, syntaxTree.
GetDiagnostics
(nOrT).Count());
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
ParserTestUtilities.vb (4)
430
If tree.
GetDiagnostics
(node).Any Then
432
VerifyContainsErrors(node.Parent, tree, tree.
GetDiagnostics
(node).ToXml)
635
Dim unmatchedErrorList As New List(Of Diagnostic)(tree.
GetDiagnostics
(node))
662
AppendSyntaxErrors(tree.
GetDiagnostics
(node), errorMessage.Builder)