121 references to Fill
ILCompiler.Compiler (6)
Compiler\ObjectWriter\MachObjectWriter.Aot.cs (1)
147registerOffset.Fill(int.MinValue);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\Dwarf\DwarfHelper.cs (2)
91bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill(0x80); 103bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill((byte)(padValue | 0x80));
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (2)
32_padding.AsSpan().Fill(paddingByte); 58_appendBuffer.GetSpan(paddingLength).Slice(0, paddingLength).Fill(_padding[0]);
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
ILCompiler.ReadyToRun (5)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\Dwarf\DwarfHelper.cs (2)
91bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill(0x80); 103bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill((byte)(padValue | 0x80));
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (2)
32_padding.AsSpan().Fill(paddingByte); 58_appendBuffer.GetSpan(paddingLength).Slice(0, paddingLength).Fill(_padding[0]);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WebCilObjectWriter.cs (1)
29_padding.AsSpan().Fill(padByte);
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\ILStackHelper.cs (1)
37stackHeights.Fill(StackHeightNotSet);
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
illink (1)
ILLink.RoslynAnalyzer (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.Http.Extensions (1)
src\aspnetcore\src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.HttpLogging (1)
src\aspnetcore\src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.WebSockets (1)
src\aspnetcore\src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
289skipProjects.AsSpan().Fill(true);
Logging\OptimizedStringIndenter.cs (1)
78output.Slice(0, state.indent).Fill(' ');
Microsoft.Build.Framework (1)
Utilities\ValueStringBuilder.cs (1)
242_chars.Slice(index, count).Fill(value);
Microsoft.Build.Tasks.Core (1)
MSBuild.cs (1)
248skipProjects.AsSpan().Fill(true);
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\CodeGeneration\CodeWriter.IndentCache.cs (2)
35destination[..tabCount].Fill('\t'); 36destination[tabCount..].Fill(' ');
Microsoft.Data.Analysis (5)
PrimitiveColumnContainer.cs (4)
53mutableBuffer.RawSpan.Fill(default(T)); 77span.Fill(255); 170mutableLastBuffer.RawSpan.Slice(mutableLastBuffer.Length - allocatable, allocatable).Fill(value.Value); 563newBuffer.Span.Fill(false);
Utils\BitUtility.cs (1)
129slice.Fill(fill);
Microsoft.Diagnostics.DataContractReader.Contracts (5)
PrintfStressMessageFormatter.cs (3)
186buffer.Fill('0'); 187buffer[^paddingFormat.Precision..].Fill('#'); 197buffer.Fill('#');
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\Dwarf\DwarfHelper.cs (2)
91bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill(0x80); 103bytes.Slice(actualSize, bytes.Length - actualSize - 1).Fill((byte)(padValue | 0x80));
Microsoft.Extensions.Configuration.EnvironmentVariables (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
Microsoft.Extensions.DataIngestion (1)
Chunkers\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
Microsoft.Extensions.Logging.Abstractions (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
Microsoft.Extensions.Logging.Console (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
Microsoft.ML.TimeSeries (1)
SrCnnTransformBase.cs (1)
300result.Values.Fill(Double.NaN);
Microsoft.ML.Tokenizers (1)
Utils\ValueStringBuilder.cs (1)
238_chars.Slice(index, count).Fill(value);
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
336checksumField.Fill((byte)' ');
Microsoft.Private.Windows.Core (2)
System\SpanWriter.cs (1)
66_unwritten[..count].Fill(value);
System\Text\ValueStringBuilder.cs (1)
162_chars.Slice(index, count).Fill(value);
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenHashTable.cs (1)
68bucketStarts.Fill(-1);
System\Collections\Frozen\String\LengthBuckets.cs (1)
46buckets.AsSpan(0, arraySize).Fill(-1);
System.Console (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Diagnostics.DiagnosticSource (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Diagnostics.Process (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
177isAllowed.AsSpan(minCharAllowed, maxCharAllowed - minCharAllowed + 1).Fill(true);
System\Formats\Asn1\AsnWriter.cs (1)
428_buffer.AsSpan(_offset).Fill(0xCA);
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System\Formats\Tar\TarHeader.Write.cs (1)
987destination.Slice(0, copyPos).Fill((byte)'0');
System.IO.Compression (5)
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\Compression\DeflateManaged\InflaterManaged.cs (1)
625_codeList.AsSpan(_loopCounter, repeatCount).Fill(previousCode);
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.IO.FileSystem.Watcher (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_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\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Net.Mail (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\TensorOperation.cs (1)
2274destination.Fill(value);
System\Numerics\Tensors\netcore\TensorPrimitives.IsCanonical.cs (1)
28destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsFinite.cs (1)
28destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsInteger.cs (1)
28destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsRealNumber.cs (1)
28destination.Slice(0, x.Length).Fill(true);
System.Private.CoreLib (26)
src\runtime\src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
48Digits.Fill(0xCC);
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
1487new Span<T>(array).Fill(value); 1518new Span<T>(ref first, count).Fill(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
438_array.AsSpan(0, GetByteArrayLengthFromBitLength(_bitLength)).Fill(0xFF);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
42path.Slice(pos, 6).Fill((byte)'X');
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
6332_destination.Slice(_pos, paddingRequired).Fill(' '); 6337_destination.Slice(_pos, paddingRequired).Fill(' '); 6450_destination.Slice(_pos, paddingNeeded).Fill(' '); 6455_destination.Slice(startingPos, paddingNeeded).Fill(' ');
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (2)
3834digits.Slice(number.DigitsCount, end - number.DigitsCount).Fill((byte)'0'); 3867digits.Slice(number.DigitsCount, preferredZeros).Fill((byte)'0');
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (2)
744vlb.AppendSpan(precision).Fill(TChar.CastFrom('0')); 866vlb.AppendSpan(padCount).Fill(TChar.CastFrom('0'));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (4)
445_chars.Slice(_pos, paddingRequired).Fill(' '); 450_chars.Slice(_pos, paddingRequired).Fill(' '); 579_chars.Slice(_pos, paddingNeeded).Fill(' '); 584_chars.Slice(startingPos, paddingNeeded).Fill(' ');
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMapState.cs (1)
46_hashEntries.AsSpan().Fill(values[0]);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1156new Span<char>(ref result._firstChar, count).Fill(paddingChar); 1175new Span<char>(ref Unsafe.Add(ref result._firstChar, oldLength), count).Fill(paddingChar);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (3)
695chunkChars.AsSpan(chunkLength, repeatCount).Fill(value); 724chunkChars.AsSpan(chunkLength, firstLength).Fill(value); 734m_ChunkChars.AsSpan(0, restLength).Fill(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (2)
797_destination.Slice(_pos, paddingNeeded).Fill((byte)' '); 802_destination.Slice(startingPos, paddingNeeded).Fill((byte)' ');
System.Private.Uri (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Private.Windows.Core (2)
System\SpanWriter.cs (1)
66_unwritten[..count].Fill(value);
System\Text\ValueStringBuilder.cs (1)
162_chars.Slice(index, count).Fill(value);
System.Private.Xml (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Reflection.Metadata (3)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
16new Span<byte>(buffer, start, byteCount).Fill(value);
System\Reflection\Metadata\BlobWriter.cs (1)
131_buffer.AsSpan(start, byteCount).Fill(value);
System.Runtime.Numerics (5)
src\runtime\src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
48Digits.Fill(0xCC);
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder_1.cs (1)
168_chars.Slice(index, count).Fill(value);
System\Numerics\BigIntegerCalculator.DivRem.cs (2)
442quotient.Fill(nuint.MaxValue); 464quotient.Slice(0, qi).Fill(nuint.MaxValue);
System\Numerics\BigIntegerCalculator.Utils.cs (1)
28bits.Fill(0xCD);
System.Security.Cryptography (4)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
109D.Fill(id);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
282destination.Slice(2, paddingLength).Fill(0xFF);
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System\Security\Cryptography\SymmetricPadding.cs (1)
103destination.Slice(count, padBytes).Fill((byte)padBytes);
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
109D.Fill(id);
System.ServiceProcess.ServiceController (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Text.Encodings.Web (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Text.Json (3)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System\Text\Json\Serialization\ValueBitArray.cs (1)
70_buffer.Fill(initialWordValue);
System\Text\Json\Writer\JsonWriterHelper.cs (1)
35buffer.Slice(0, indent).Fill(indentByte);
System.Text.RegularExpressions (2)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System\Text\RegularExpressions\Symbolic\MintermClassifier.cs (1)
88lookup.AsSpan((int)start, (int)(end + 1 - start)).Fill(T.CreateTruncating(mintermId));
System.Text.RegularExpressions.Generator (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Web.HttpUtility (1)
src\runtime\src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
114_chars.Slice(index, count).Fill(value);
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (1)
83customColors.Fill(0x00FFFFFF);