Summary
This method allocates no garbage unlike
System.Text.StringBuilder.AppendLine which allocates 30 bytes
of garbage per call for accessing System.Environment.NewLine (according to Unity's profiler).
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- WeaverUtilities
Syntax
public static StringBuilder AppendLineConst(this StringBuilder text, string value)
Parameters
| Name | Type | Description |
|---|---|---|
| text | StringBuilder | |
| value | string |
Return Value
| Type | Description |
|---|---|
| StringBuilder |