34 references to Span
PresentationFramework (4)
System\windows\Documents\SelectionWordBreaker.cs (2)
230SafeNativeMethods.GetStringTypeEx(0 /* ignored */, SafeNativeMethods.CT_CTYPE1, [ch], new Span<UInt16>(ref charType1)); 264SafeNativeMethods.GetStringTypeEx(0 /* ignored */, SafeNativeMethods.CT_CTYPE3, [ch], new Span<UInt16>(ref charType3));
System\Windows\Documents\TextFindEngine.cs (2)
110SafeNativeMethods.GetStringTypeEx(0 /* ignored */, SafeNativeMethods.CT_CTYPE1, [findPattern[0]], new Span<UInt16>(ref startCharType1)); 111SafeNativeMethods.GetStringTypeEx(0 /* ignored */, SafeNativeMethods.CT_CTYPE1, [findPattern[findPattern.Length - 1]], new Span<UInt16>(ref endCharType1));
System.Console (1)
System\IO\ConsoleStream.cs (1)
40int result = Read(new Span<byte>(ref b));
System.Data.Common (1)
System\Data\SQLTypes\SQLBytes.cs (1)
199Read(offset, new Span<byte>(ref b));
System.Formats.Tar (1)
System\Formats\Tar\SubReadStream.cs (1)
131return Read(new Span<byte>(ref b)) == 1 ? b : -1;
System.IO.Compression (2)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
146return Read(new Span<byte>(ref b)) == 1 ? b : -1;
System\IO\Compression\ZipCustomStreams.cs (1)
332return Read(new Span<byte>(ref b)) == 1 ? b : -1;
System.IO.Compression.Brotli (1)
System\IO\Compression\dec\BrotliStream.Decompress.cs (1)
47int bytesRead = Read(new Span<byte>(ref b));
System.Net.Http (3)
System\Net\Http\Headers\HttpHeaders.cs (1)
1170values = new Span<string?>(ref singleValue);
System\Net\Http\HttpBaseStream.cs (1)
42return Read(new Span<byte>(ref b)) == 1 ? b : -1;
System\Net\Http\MultipartContent.cs (1)
487return Read(new Span<byte>(ref b)) == 1 ? b : -1;
System.Net.Mail (1)
System\Net\DelegatedStream.cs (1)
153return ReadInternal(new Span<byte>(ref b)) != 0 ? b : -1;
System.Net.Primitives (3)
System\Net\IPNetwork.cs (3)
113BaseAddress.TryWriteBytes(MemoryMarshal.AsBytes(new Span<UInt128>(ref baseAddressValue)), out int bytesWritten); 115address.TryWriteBytes(MemoryMarshal.AsBytes(new Span<UInt128>(ref otherAddressValue)), out bytesWritten); 266baseAddress.TryWriteBytes(MemoryMarshal.AsBytes(new Span<UInt128>(ref value)), out int bytesWritten);
System.Net.Quic (1)
System\Net\Quic\QuicStream.Stream.cs (1)
110return Read(new Span<byte>(ref b)) != 0 ? b : -1;
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (1)
341Span<byte> span = MemoryMarshal.AsBytes(new Span<MessageField>(ref field));
System\Net\Security\SslStream.cs (1)
774int bytesRead = Read(new Span<byte>(ref oneByte));
System.Net.WebSockets (1)
System\Net\WebSockets\Compression\WebSocketInflater.cs (1)
218if (Inflate(stream, new Span<byte>(ref b), FlushCode.SyncFlush) == 0)
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (2)
493Span<byte> bytes = MemoryMarshal.AsBytes(new Span<GuidResult>(ref result)); 579Span<byte> bytes = MemoryMarshal.AsBytes(new Span<GuidResult>(ref result));
src\libraries\System.Private.CoreLib\src\System\IO\BinaryReader.cs (1)
163charsRead = _decoder.GetChars(charBytes[..numBytes], new Span<char>(ref singleChar), flush: false);
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (1)
203return Read(new Span<byte>(ref b)) != 0 ? b : -1;
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (2)
78Span<object?> copyOfArgs = new(ref copyOfArg); 81Span<bool> shouldCopyBack = new(ref copyBack);
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (1)
210bytes.CopyTo(MemoryMarshal.AsBytes(new Span<int>(ref _leftoverBytes)));
src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
443return Read(new Span<byte>(ref b)) != 0 ? b : -1;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
231if (Read(new Span<byte>(ref b)) == 0)
System.Security.Cryptography (2)
System\Security\Cryptography\HKDFManagedImplementation.cs (1)
24var counterSpan = new Span<byte>(ref counter);
System\Security\Cryptography\RandomNumberGenerator.cs (1)
129Span<byte> oneUintBytes = MemoryMarshal.AsBytes(new Span<uint>(ref oneUint));
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (1)
88int r = Read(new Span<byte>(ref data));
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ByteViewer.cs (1)
343Encoding.Unicode.GetChars(_dataBuf.AsSpan(i, 2), new Span<char>(ref unicodeChar));