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

Module Format

Provides definitions related to string formatting.

Import path

import semmle.code.csharp.frameworks.Format

Imports

csharp

The default C# QL library.

Classes

FormatCall

A method call to a method that formats a string, for example a call to string.Format().

FormatMethod

A method that formats a string, for example string.Format().

InvalidFormatString

A literal with an invalid format string.

StringFormatItemParameter

A parameter that is used as a format item for string.Format(). Either a format item parameter of string.Format(), or a parameter of a method that is forwarded to a format item parameter of string.Format().

ValidFormatString

A literal with a valid format string.