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 829557f commit ac2769cCopy full SHA for ac2769c
csharp/ql/src/Telemetry/ExternalApi.qll
@@ -13,8 +13,15 @@ private import TestLibrary
13
14
/** Holds if the given callable is not worth supporting. */
15
private predicate isUninteresting(Callable c) {
16
- c.getDeclaringType() instanceof TestLibrary or
+ c.getDeclaringType() instanceof TestLibrary
17
+ or
18
c.(Constructor).isParameterless()
19
20
+ // The data flow library uses read/store steps for properties, so we don't need to model them,
21
+ // if both a getter and a setter exist.
22
+ exists(Property p | p = c.(Accessor).getDeclaration() |
23
+ exists(p.getSetter()) and exists(p.getGetter())
24
+ )
25
}
26
27
/**
0 commit comments