Expand description
Specialization for Csharp code generation.
§String Quoting in C#
Since C# uses UTF-16 internally, but literal strings support C-style family of escapes.
use genco::prelude::*;
let toks: csharp::Tokens = quote!("start π 😊 \n \x7f end");
assert_eq!("\"start \\u03c0 \\U0001f60a \\n \\x7f end\"", toks.to_string()?);
Structs§
- Format a doc comment where each line is preceeded by
///
. - Format a doc comment where each line is preceeded by
//
. - Config data for Csharp formatting.
- Language specialization for C#.
- State using during formatting of C# language items.
- The import of a C# type
using System.IO;
.
Enums§
- A type-erased language item capable of holding any kind.
Functions§
- Format a doc comment where each line is preceeded by
///
. - Format a doc comment where each line is preceeded by
//
. - The import of a C# type
using System.IO;
.
Type Aliases§
- Tokens container specialization for C#.