codeql/csharp-all
4.0.1-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Holds if there exists an API with apiName that is being used usages times and if it is in the top results (guarded by resultLimit).
apiName
usages
import semmle.code.csharp.telemetry.ExternalApi
predicate restrict(string apiName, int usages)