CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Module ExternalDependencies

Support for ExternalDependencies.ql query.

This performs a “technology inventory” by associating each source file with the assemblies it uses. This creates a metric showing how much each source file uses external assemblies.

Import path

import semmle.code.csharp.metrics.ExternalDependencies

Imports

csharp

The default C# QL library.

Predicates

externalDependencies

Generate the table of dependencies for the query.