15 references to AppendSpan
System.Private.CoreLib (15)
src\runtime\src\libraries\Common\src\System\Number.Formatting.Common.cs (4)
1033
Span<TChar> buffer = vlb.
AppendSpan
(bufferSize);
1149
rune.EncodeToUtf8(MemoryMarshal.AsBytes(vlb.
AppendSpan
(rune.Utf8SequenceLength)));
1167
rune.EncodeToUtf8(MemoryMarshal.AsBytes(vlb.
AppendSpan
(rune.Utf8SequenceLength)));
1250
Span<TChar> digits = vlb.
AppendSpan
(digitCount);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (8)
177
Number.WriteTwoDigits((uint)value, outputBuffer.
AppendSpan
(2));
181
Number.WriteFourDigits((uint)value, outputBuffer.
AppendSpan
(4));
186
Span<TChar> buffer = outputBuffer.
AppendSpan
(digitCount);
801
rune.EncodeToUtf8(MemoryMarshal.AsBytes(result.
AppendSpan
(rune.Utf8SequenceLength)));
830
Encoding.UTF8.GetBytes(s, Unsafe.BitCast<Span<TChar>, Span<byte>>(result.
AppendSpan
(Encoding.UTF8.GetByteCount(s))));
901
Number.WriteTwoDigits((uint)offset.Hours, result.
AppendSpan
(2));
906
Span<TChar> offsetSpan = result.
AppendSpan
(5);
950
Span<TChar> hoursMinutes = result.
AppendSpan
(5);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (3)
744
vlb.
AppendSpan
(precision).Fill(TChar.CastFrom('0'));
866
vlb.
AppendSpan
(padCount).Fill(TChar.CastFrom('0'));
914
Span<TChar> exponentBuffer = vlb.
AppendSpan
(digitCount);