mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C#: Replace exists with any.
This commit is contained in:
@@ -524,10 +524,8 @@ final class AttributeNode extends ElementNode {
|
||||
*/
|
||||
final class TypeParameterNode extends ElementNode {
|
||||
TypeParameterNode() {
|
||||
exists(TypeParameter typeParameter |
|
||||
typeParameter = element and
|
||||
not isNotNeeded(typeParameter.getDeclaringGeneric())
|
||||
)
|
||||
element =
|
||||
any(TypeParameter typeParameter | not isNotNeeded(typeParameter.getDeclaringGeneric()))
|
||||
}
|
||||
|
||||
override ElementNode getChild(int childIndex) { none() }
|
||||
|
||||
Reference in New Issue
Block a user