Merge pull request #15246 from owen-mc/java/manual-neutral-overrides-generated

C#/Java: Manual neutral summaries should block generated summaries
This commit is contained in:
Owen Mansel-Chan
2024-01-12 10:05:18 +00:00
committed by GitHub
15 changed files with 131 additions and 23 deletions

View File

@@ -528,6 +528,10 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
exists(Provenance provenance |
summaryElement(this, input, output, kind, provenance) and
provenance.isGenerated()
) and
not exists(Provenance provenance |
neutralElement(this, "summary", provenance) and
provenance.isManual()
)
}