153 references to ReadOnlySpan
GenerateDocumentationAndConfigFiles (2)
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (2)
Metrics (2)
Metrics.Legacy (2)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Middleware\Internal\LoggingStream.cs (4)
81Log("Read", new ReadOnlySpan<byte>(buffer, offset, read));
101Log("ReadAsync", new ReadOnlySpan<byte>(buffer, offset, read));
128Log("Write", new ReadOnlySpan<byte>(buffer, offset, count));
140Log("WriteAsync", new ReadOnlySpan<byte>(buffer, offset, count));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
Microsoft.CodeAnalysis.CodeStyle (3)
Microsoft.CodeAnalysis.Collections.Package (1)
Microsoft.CodeAnalysis.Extensions.Package (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers (3)
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
Microsoft.CodeAnalysis.Threading.Package (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.Caching.Hybrid (4)
Microsoft.Extensions.Caching.SqlServer (2)
Microsoft.Extensions.Logging.Console (1)
Roslyn.Diagnostics.Analyzers (3)
Shared (1)
System.Collections.Immutable (3)
System.Data.Common (1)
System.Formats.Asn1 (5)
System.Formats.Cbor (2)
System.IO.Hashing (2)
System.IO.Packaging (1)
System.Linq (1)
System.Memory (1)
System.Net.ServerSentEvents (1)
System.Net.WebClient (1)
System.Private.CoreLib (36)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (4)
2340return ToBase64String(new ReadOnlySpan<byte>(inArray, offset, length), options);
2414ToBase64CharsLargeNoLineBreaks(new ReadOnlySpan<byte>(inArray, offsetIn, length), outArray.AsSpan(offsetOut), charLengthRequired);
3070return ToHexString(new ReadOnlySpan<byte>(inArray, offset, length));
3147return ToHexStringLower(new ReadOnlySpan<byte>(inArray, offset, length));
src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (5)
464new ReadOnlySpan<byte>(byteBuffer, n, _byteLen - n).CopyTo(byteBuffer);
751charsRead = _decoder.GetChars(new ReadOnlySpan<byte>(_byteBuffer, 0, _byteLen), userBuffer, flush: false);
770charsRead = _decoder.GetChars(new ReadOnlySpan<byte>(_byteBuffer, 0, _byteLen), userBuffer, flush: true);
1151n = _decoder.GetChars(new ReadOnlySpan<byte>(tmpByteBuffer, 0, _byteLen), buffer.Span.Slice(charsRead), flush: false);
1215n = _decoder.GetChars(new ReadOnlySpan<byte>(tmpByteBuffer, 0, _byteLen), buffer.Span.Slice(charsRead), flush: false);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (5)
921new ReadOnlySpan<char>(chunk.m_ChunkChars, chunkStartIndex, chunkCount).CopyTo(destination.Slice(curDestIndex));
2038ReadOnlySpan<char> chunk = new ReadOnlySpan<char>(sbChunk.m_ChunkChars, 0, chunk_length);
2677new ReadOnlySpan<char>(chunk.m_ChunkChars, 0, copyCount1).CopyTo(newChunk.m_ChunkChars);
2683new ReadOnlySpan<char>(chunk.m_ChunkChars, copyCount1, copyCount2).CopyTo(chunk.m_ChunkChars);
2794new ReadOnlySpan<char>(endChunk.m_ChunkChars, endIndexInChunk, copyCount).CopyTo(endChunk.m_ChunkChars.AsSpan(copyTargetIndexInChunk));
System.Private.DataContractSerialization (1)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (2)
System.ServiceModel.NetFramingBase (1)
System.Text.Json (1)
System.Windows.Forms (2)
Test.Utilities (2)
Text.Analyzers (3)