CodeQL library for C#
codeql/csharp-all 5.4.4-dev (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().

FormatStringParseCall

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

InvalidFormatString

A literal with an invalid format string.

ParseFormatStringCall

A method call to System.Text.CompositeFormat.Parse.

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.