We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7491352 commit ef4b41aCopy full SHA for ef4b41a
csharp/ql/lib/semmle/code/csharp/PrintAst.qll
@@ -524,10 +524,8 @@ final class AttributeNode extends ElementNode {
524
*/
525
final class TypeParameterNode extends ElementNode {
526
TypeParameterNode() {
527
- exists(TypeParameter typeParameter |
528
- typeParameter = element and
529
- not isNotNeeded(typeParameter.getDeclaringGeneric())
530
- )
+ element =
+ any(TypeParameter typeParameter | not isNotNeeded(typeParameter.getDeclaringGeneric()))
531
}
532
533
override ElementNode getChild(int childIndex) { none() }
0 commit comments