File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
csharp/ql/src/utils/modeleditor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ private import semmle.code.csharp.security.dataflow.flowsources.Remote
16
16
private import Telemetry.TestLibrary
17
17
18
18
/** Holds if the given callable is not worth supporting. */
19
- private predicate isUninteresting ( DotNet:: Declaration c ) {
19
+ private predicate isUninteresting ( DotNet:: Callable c ) {
20
20
c .getDeclaringType ( ) instanceof TestLibrary or
21
21
c .( Constructor ) .isParameterless ( ) or
22
22
c .getDeclaringType ( ) instanceof AnonymousClass
@@ -25,7 +25,7 @@ private predicate isUninteresting(DotNet::Declaration c) {
25
25
/**
26
26
* An callable method from either the C# Standard Library, a 3rd party library, or from the source.
27
27
*/
28
- class CallableMethod extends DotNet:: Declaration {
28
+ class CallableMethod extends DotNet:: Callable {
29
29
CallableMethod ( ) {
30
30
[ this .( Modifiable ) , this .( Accessor ) .getDeclaration ( ) ] .isEffectivelyPublic ( ) and
31
31
not isUninteresting ( this )
You can’t perform that action at this time.
0 commit comments