61 references to Fill
InMemory.FunctionalTests (1)
Http2\Http2ConnectionTests.cs (1)
2016data.AsSpan().Fill(1);
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.HttpLogging (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.WebSockets (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.Build (1)
Logging\OptimizedStringIndenter.cs (1)
78output.Slice(0, state.indent).Fill(' ');
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Collections (1)
System\Collections\BitArray.cs (1)
292span.Fill(-1);
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenHashTable.cs (1)
62bucketStarts.Fill(-1);
System\Collections\Frozen\String\LengthBuckets.cs (1)
48buckets.AsSpan(0, arraySize).Fill(-1);
System.Console (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
221isAllowed.AsSpan(minCharAllowed, maxCharAllowed - minCharAllowed + 1).Fill(true);
System\Formats\Asn1\AsnWriter.cs (1)
296_buffer.AsSpan(_offset).Fill(0xCA);
System.Formats.Tar (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Formats\Tar\TarHeader.Write.cs (1)
1010destination.Slice(0, copyPos).Fill((byte)'0');
System.IO.Compression (4)
System\IO\Compression\DeflateManaged\HuffmanTree.cs (4)
83literalTreeLength.AsSpan(0, 144).Fill(8); 84literalTreeLength.AsSpan(144, 112).Fill(9); 85literalTreeLength.AsSpan(256, 24).Fill(7); 86literalTreeLength.AsSpan(280, 8).Fill(8);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Linq (2)
System\Linq\Repeat.SpeedOpt.cs (2)
27SetCountAndGetSpan(list, _count).Fill(_current); 93array.AsSpan(arrayIndex, _count).Fill(_current);
System.Net.Http (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Net.Mail (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Private.CoreLib (20)
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
56Digits.Fill(0xCC);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
1101new Span<T>(array).Fill(value); 1132new Span<T>(ref first, count).Fill(value);
src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
42path.Slice(pos, 6).Fill((byte)'X');
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
4509_destination.Slice(_pos, paddingRequired).Fill(' '); 4514_destination.Slice(_pos, paddingRequired).Fill(' '); 4627_destination.Slice(_pos, paddingNeeded).Fill(' '); 4632_destination.Slice(startingPos, paddingNeeded).Fill(' ');
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (4)
424_chars.Slice(_pos, paddingRequired).Fill(' '); 429_chars.Slice(_pos, paddingRequired).Fill(' '); 558_chars.Slice(_pos, paddingNeeded).Fill(' '); 563_chars.Slice(startingPos, paddingNeeded).Fill(' ');
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1122new Span<char>(ref result._firstChar, count).Fill(paddingChar); 1141new Span<char>(ref Unsafe.Add(ref result._firstChar, oldLength), count).Fill(paddingChar);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (3)
670chunkChars.AsSpan(chunkLength, repeatCount).Fill(value); 699chunkChars.AsSpan(chunkLength, firstLength).Fill(value); 709m_ChunkChars.AsSpan(0, restLength).Fill(value);
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (2)
788_destination.Slice(_pos, paddingNeeded).Fill((byte)' '); 793_destination.Slice(startingPos, paddingNeeded).Fill((byte)' ');
System.Private.Uri (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Private.Xml (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Reflection.Metadata (3)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
18new Span<byte>(buffer, start, byteCount).Fill(value);
System\Reflection\Metadata\BlobWriter.cs (1)
130_buffer.AsSpan(start, byteCount).Fill(value);
System.Runtime.Numerics (2)
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
56Digits.Fill(0xCC);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Security.Cryptography (4)
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
109D.Fill(id);
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
282destination.Slice(2, paddingLength).Fill(0xFF);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Security\Cryptography\SymmetricPadding.cs (1)
103destination.Slice(count, padBytes).Fill((byte)padBytes);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Text.Json (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Text\Json\Writer\JsonWriterHelper.cs (1)
35buffer.Slice(0, indent).Fill(indentByte);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);