21 references to Span
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (1)
157bool b = iter.TryFormat(new Span<byte>(buffer).Slice(origName.Length + 1), out _);
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs (1)
157bool b = iter.TryFormat(new Span<byte>(buffer).Slice(origName.Length + 1), out _);
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\StackWalk_1.cs (1)
1314Span<byte> buffer = new Span<byte>(bytes);
Microsoft.Diagnostics.DataContractReader.Legacy (2)
Dbi\DacDbiImpl.cs (2)
1766cdacCtx.FillFromBuffer(new Span<byte>(cdac.ToArray())); 1767dacCtx.FillFromBuffer(new Span<byte>(legacy.ToArray()));
Microsoft.ML.TensorFlow (1)
TensorTypeExtensions.cs (1)
55var span = new Span<T>(array);
System.IO.Compression (2)
System\IO\Compression\DeflateZLib\DeflateStream.cs (2)
1061int bytesRead = _deflateStream._inflater.Inflate(new Span<byte>(_arrayPoolBuffer)); 1097int bytesRead = _deflateStream._inflater.Inflate(new Span<byte>(_arrayPoolBuffer));
System.IO.Compression.Brotli (2)
System\IO\Compression\enc\BrotliStream.Compress.cs (2)
86Span<byte> output = new Span<byte>(_buffer); 194Span<byte> output = new Span<byte>(_buffer);
System.Net.Security (1)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (1)
696Span<byte> responseAsSpan = new Span<byte>(responseBytes);
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1487new Span<T>(array).Fill(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BinaryReader.cs (1)
404int n = InternalReadChars(new Span<char>(chars));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerator.Unix.cs (1)
122ref entry, _entry, _currentPath, _rootDirectory, _originalRootDirectory, new Span<char>(_pathBuffer));
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\TextWriter.cs (2)
196buffer.CopyTo(new Span<char>(array)); 420buffer.CopyTo(new Span<char>(array));
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
3729return new Span<T>(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
211public static implicit operator Span<T>(T[]? array) => new Span<T>(array);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
906CopyTo(sourceIndex, new Span<char>(destination).Slice(destinationIndex), count);
System.Private.Xml (1)
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
117bom.CopyTo(new Span<byte>(_bufBytes).Slice(1));
System.Security.Cryptography (1)
System\Security\Cryptography\RandomNumberGeneratorImplementation.cs (1)
31GetBytes(new Span<byte>(data));