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 fec4d19 commit be1129eCopy full SHA for be1129e
csharp/ql/src/Telemetry/ExternalApi.qll
@@ -28,7 +28,11 @@ class TestLibrary extends RefType {
28
* An external API from either the C# Standard Library or a 3rd party library.
29
*/
30
class ExternalApi extends DotNet::Callable {
31
- ExternalApi() { this.isUnboundDeclaration() and this.fromLibrary() }
+ ExternalApi() {
32
+ this.isUnboundDeclaration() and
33
+ this.fromLibrary() and
34
+ this.(Modifiable).isEffectivelyPublic()
35
+ }
36
37
/**
38
* Gets the unbound type, name and parameter types of this API.
0 commit comments