Update csharp/ql/lib/semmle/code/csharp/AnnotatedType.qll

Co-authored-by: Michael Nebel <michaelnebel@github.com>
This commit is contained in:
Tom Hvitved
2024-02-26 11:35:28 +01:00
committed by GitHub
parent 15cf695188
commit 5f5bcf686d

View File

@@ -174,7 +174,7 @@ private module Annotations {
Nullability getChildNullability(Nullability n, int i) {
result = getChildNullability0(n, i)
or
not exists(getChildNullability0(n, _)) and
not exists(getChildNullability0(n, i)) and
result = n
}