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

Module TargetFramework

Provides the TargetFrameworkAttribute class for querying the target framework.

Import path

import semmle.code.csharp.commons.TargetFramework

Imports

csharp

The default C# QL library.

Classes

TargetFrameworkAttribute

An attribute of type System.Runtime.Versioning.TargetFrameworkAttribute, specifying the target framework of an assembly. For example