Skip to content

Commit 083b8d1

Browse files
Jami CogswellJami Cogswell
authored andcommitted
C#: make predicate private
1 parent dc51226 commit 083b8d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

csharp/ql/src/Telemetry/ExternalApi.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ private predicate isParameterlessConstructor(DotNet::Callable c) {
3333
private predicate isTestLibrary(DotNet::Callable c) { c.getDeclaringType() instanceof TestLibrary }
3434

3535
/** Holds if the given callable is not worth supporting. */
36-
predicate isUninteresting(DotNet::Callable c) { isTestLibrary(c) or isParameterlessConstructor(c) }
36+
private predicate isUninteresting(DotNet::Callable c) {
37+
isTestLibrary(c) or isParameterlessConstructor(c)
38+
}
3739

3840
/**
3941
* An external API from either the C# Standard Library or a 3rd party library.

0 commit comments

Comments
 (0)