Module Format

Provides definitions related to string formatting.

Import path

semmle.code.csharp.frameworks.Format

Imports

csharp

The default C# CodeQL 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.