/** * @name Usage of unsupported APIs coming from external libraries * @description A list of 3rd party APIs used in the codebase. Excludes APIs exposed by test libraries. * @kind metric * @tags summary telemetry * @id cs/telemetry/unsupported-external-api */ private import csharp private import semmle.code.csharp.telemetry.ExternalApi private predicate relevant(ExternalApi api) { not api.isSupported() } from string info, int usages where Results::restrict(info, usages) select info, usages order by usages desc