CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata


This space contains one page for each of the C# queries for the most recent enterprise release of CodeQL. Each page contains:

  • Summary of key metadata for the query
  • QL code for the query
  • Help information for the query
  • Labels derived from the query metadata

About the queries

The queries available in this release include queries that:

  • Run on LGTM—selected because they find issues that are important to the majority of developers and/or the results have a very high precision. That is, a high percentage of the alerts they report are true results. For a list of all the default LGTM queries, see and search: language=csharp. Note that the results may include queries that are scheduled for the next release.
  • Generate additional alerts—for example, recommendations for improvements to the code.
  • Calculate metrics—these give you more general information about a project.
  • Demonstrate other ways to output data using CodeQL—for example, generating a table, chart, or graph of results. These are intended to be run using the CodeQL plugins and extensions.

Exploring the queries

The heatmap below shows the labels for C# queries, click a label to view all queries with that tag or query type.