Text API inventory
Owns StringBuilder, encodings, formatting, Unicode helpers, web encoders, Base64, and other System.Text-shaped algorithms.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/text |
| CMake target | SharpRuntime::Text |
| Component kind | static |
| Direct production dependencies | Buffers, Core.Base |
| External dependency | None |
| Public headers | 28 |
| Production sources | 4 |
Select the component
set(SHARP_RUNTIME_COMPONENTS Text)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::Text)Compatibility and platform notes
The common String representation is UTF-8 bytes in std::string. Several case, comparison, indexing, normalization, and grapheme operations are narrower than .NET UTF-16/globalization semantics.
Implementation-status evidence
The owning module contains 11 C++ test sources and participates in a physical component test executable. Source-file count is not a discovered-test count.
This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.
Public header and entry inventory
This complete list is derived from modules/text/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.
System::Text20 public headers
System/Text/ASCIIEncoding.hppSystem/Text/Ascii.hppSystem/Text/CompositeFormat.hppSystem/Text/Decoder.hppSystem/Text/DecoderFallback.hppSystem/Text/Encoder.hppSystem/Text/EncoderFallback.hppSystem/Text/Encoding.hppSystem/Text/EncodingInfo.hppSystem/Text/EncodingProvider.hppSystem/Text/Latin1Encoding.hppSystem/Text/Rune.hppSystem/Text/RunePosition.hppSystem/Text/StringBuilder.hppSystem/Text/StringBuilderRuneEnumerator.hppSystem/Text/StringRuneEnumerator.hppSystem/Text/UTF32Encoding.hppSystem/Text/UTF7Encoding.hppSystem/Text/UTF8Encoding.hppSystem/Text/UnicodeEncoding.hpp