2 overrides of GetDeclarationDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2894
public override ImmutableArray<Diagnostic>
GetDeclarationDiagnostics
(CancellationToken cancellationToken = default)
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
2099
Public Overrides Function
GetDeclarationDiagnostics
(Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of Diagnostic)
1 reference to GetDeclarationDiagnostics
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
50
var diagnostics = context.Compilation.
GetDeclarationDiagnostics
(cancellationToken: context.CancellationToken);