Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetSymbolOrDefault()

static char System.Buffers.Text.FormattingHelpers.GetSymbolOrDefault ( in StandardFormat format,
char defaultSymbol )
inlinestatic

Definition at line 81 of file FormattingHelpers.cs.

82 {
83 char c = format.Symbol;
84 if (c == '\0' && format.Precision == 0)
85 {
86 c = defaultSymbol;
87 }
88 return c;
89 }

References System.format.

Referenced by System.Buffers.Text.Utf8Formatter.TryFormat(), System.Buffers.Text.Utf8Formatter.TryFormat(), System.Buffers.Text.Utf8Formatter.TryFormat(), and System.Buffers.Text.Utf8Formatter.TryFormat().