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