2 overrides of GetDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
831public override IEnumerable<Diagnostic> GetDiagnostics(SyntaxTrivia trivia)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
339Public Overrides Function GetDiagnostics(trivia As SyntaxTrivia) As IEnumerable(Of Diagnostic)
9 references to GetDiagnostics
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTrivia.cs (1)
423return this.SyntaxTree!.GetDiagnostics(this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SyntaxTreeRootTests.cs (1)
117Assert.Throws<InvalidOperationException>(() => { tree.GetDiagnostics(default(SyntaxTrivia)); });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
3424foreach (var diag in tree.GetDiagnostics(trivia))
Microsoft.CodeAnalysis.Test.Utilities (1)
Syntax\XmlHelpers.cs (1)
240if (syntaxTree.GetDiagnostics(trivia).Any())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\SyntaxTreeRootTests.vb (1)
107tree.GetDiagnostics(trivia)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
ParserTestUtilities.vb (4)
418ElseIf tree.GetDiagnostics(tr).Any Then 419VerifyContainsErrors(node, tree, tree.GetDiagnostics(tr).ToXml) 425ElseIf tree.GetDiagnostics(tr).Any Then 426VerifyContainsErrors(node, tree, tree.GetDiagnostics(tr).ToXml)