File tree Expand file tree Collapse file tree
csharp/ql/src/utils/modeleditor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ private import semmle.code.csharp.security.dataflow.flowsources.Remote
1616private import Telemetry.TestLibrary
1717
1818/** Holds if the given callable is not worth supporting. */
19- private predicate isUninteresting ( DotNet:: Declaration c ) {
19+ private predicate isUninteresting ( DotNet:: Callable c ) {
2020 c .getDeclaringType ( ) instanceof TestLibrary or
2121 c .( Constructor ) .isParameterless ( ) or
2222 c .getDeclaringType ( ) instanceof AnonymousClass
@@ -25,7 +25,7 @@ private predicate isUninteresting(DotNet::Declaration c) {
2525/**
2626 * An callable method from either the C# Standard Library, a 3rd party library, or from the source.
2727 */
28- class CallableMethod extends DotNet:: Declaration {
28+ class CallableMethod extends DotNet:: Callable {
2929 CallableMethod ( ) {
3030 [ this .( Modifiable ) , this .( Accessor ) .getDeclaration ( ) ] .isEffectivelyPublic ( ) and
3131 not isUninteresting ( this )
You can’t perform that action at this time.
0 commit comments