2 references to GetSourceDeclarationDiagnostics
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.cs (2)
3006
builder.AddRange(
GetSourceDeclarationDiagnostics
(symbolFilter: symbolFilter, cancellationToken: cancellationToken), allowMismatchInDependencyAccumulation: true);
3325
var declarationDiagnostics =
GetSourceDeclarationDiagnostics
(syntaxTree, filterSpanWithinTree, FilterDiagnosticsByLocation, symbolFilter: null, cancellationToken);