2 overrides of GetDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
815public override IEnumerable<Diagnostic> GetDiagnostics(SyntaxToken token)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
329Public Overrides Function GetDiagnostics(token As SyntaxToken) As IEnumerable(Of Diagnostic)
6 references to GetDiagnostics
Microsoft.CodeAnalysis (1)
Syntax\SyntaxToken.cs (1)
674return tree.GetDiagnostics(this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SyntaxTreeRootTests.cs (1)
115Assert.Throws<InvalidOperationException>(() => { tree.GetDiagnostics(default(SyntaxToken)); });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxNodeTests.cs (2)
3418foreach (var e in syntaxTree.GetDiagnostics(t)) 3442var diag = syntaxTree.GetDiagnostics(token).ToList();
Microsoft.CodeAnalysis.Test.Utilities (1)
Syntax\XmlHelpers.cs (1)
188if (syntaxTree.GetDiagnostics(token).Any())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\SyntaxTreeRootTests.vb (1)
96tree.GetDiagnostics(token)