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