CSharpStringFormats Enum
[Flags]
public enum CSharpStringFormatsNo documentation is available.
Fields
| Name | Value | Description |
|---|---|---|
Quoted | 1 | Quoted string literals start and end with a single double quote character (") on the same line. Quoted string literals are best suited for strings that fit on a single line and don't include any escape sequences. |
Verbatim | 2 | Verbatim string literals are more convenient for multi-line strings, strings that contain backslash characters, or embedded double quotes. Verbatim strings preserve new line characters as part of the string text. Use double quotation marks to embed a quotation mark inside a verbatim string. |
Raw | 4 | Beginning with C# 11, you can use raw string literals to more easily create strings that are multi-line, or use any characters requiring escape sequences. Raw string literals remove the need to ever use escape sequences. You can write the string, including whitespace formatting, how you want it to appear in output. |
LeftAlignedRaw | 8 | Beginning with C# 11, you can use raw string literals to more easily create strings that are multi-line, or use any characters requiring escape sequences. Raw string literals remove the need to ever use escape sequences. You can write the string, including whitespace formatting, how you want it to appear in output. |
DetermineFeatureFromPdb | 16 | Determine the allowed syntax from the PDB file. If an incompatible mode is provided, it won't be used. |
Default | 23 |