55 references to Write
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (1)
73writer.Write(new ReadOnlySpan<byte>(ref localTypeByte));
ILCompiler.RyuJit (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (1)
73writer.Write(new ReadOnlySpan<byte>(ref localTypeByte));
Microsoft.AspNetCore.Components.Server (5)
src\aspnetcore\src\SignalR\common\Shared\BinaryMessageFormatter.cs (1)
17output.Write(lenBuffer.Slice(0, lenNumBytes));
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
131destination.Write(_completedSegments[i].Span); 135destination.Write(_currentSegment.AsSpan(0, _position)); 310BuffersExtensions.Write(this, buffer.AsSpan(offset, count)); 324BuffersExtensions.Write(this, span);
Microsoft.AspNetCore.Http.Connections (5)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
131destination.Write(_completedSegments[i].Span); 135destination.Write(_currentSegment.AsSpan(0, _position)); 310BuffersExtensions.Write(this, buffer.AsSpan(offset, count)); 324BuffersExtensions.Write(this, span);
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
52_pipeWriter.Write(new ReadOnlySpan<byte>(buffer, offset, count));
Microsoft.AspNetCore.Http.Results (3)
ServerSentEventsResult.cs (3)
70writer.Write([]); 77writer.Write(byteArray); 91writer.Write(json);
Microsoft.AspNetCore.HttpLogging (2)
RequestBufferingStream.cs (1)
105BuffersExtensions.Write(this, span.Slice(0, innerCount));
ResponseBufferingStream.cs (1)
143BuffersExtensions.Write(this, slice);
Microsoft.AspNetCore.Server.Kestrel.Core (23)
Internal\Http\Http1Connection.cs (5)
1079_context.Transport.Output.Write(Http2GoAwayHttp11RequiredBytes); 1093output.Write(GetStaticErrorResponsePrefix()); 1094output.Write(ServiceContext.DateHeaderValueManager.GetDateHeaderValues().Bytes); 1097output.Write(ServerHeaderBytes); 1099output.Write(ErrorResponseSuffix);
Internal\Http2\Http2FrameWriter.cs (5)
511_outputWriter.Write(ContinueBytes); 627_outputWriter.Write(dataToFrame[..currentSize]); 643_outputWriter.Write(_headerEncodingBuffer.AsSpan(0, payloadLength)); 650_outputWriter.Write(_headerEncodingBuffer.AsSpan(0, payloadLength)); 971_outputWriter.Write(segment.Span);
Internal\Http2\Http2OutputProducer.cs (2)
405_pipeWriter.Write(data); 541_pipeWriter.Write(data);
Internal\Http3\Http3FrameWriter.cs (5)
195_outputWriter.Write(buffer.Span); 218_outputWriter.Write(buffer.Span); 232_outputWriter.Write(buffer.Span); 274_outputWriter.Write(ContinueBytes); 399_outputWriter.Write(_headerEncodingBuffer.WrittenSpan);
Internal\Http3\Http3OutputProducer.cs (2)
346_pipeWriter.Write(data); 371_pipeWriter.Write(data);
Internal\Http3\Http3Stream.cs (1)
966RequestBodyPipe.Writer.Write(segment.Span);
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
259_innerPipeWriter.Write(segment.Memory.Span);
src\aspnetcore\src\Shared\ServerInfrastructure\BufferExtensions.cs (2)
36pipeWriter.Write(buffer.FirstSpan); 48pipeWriter.Write(item.Span);
Microsoft.AspNetCore.SignalR.Common (4)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (4)
131destination.Write(_completedSegments[i].Span); 135destination.Write(_currentSegment.AsSpan(0, _position)); 310BuffersExtensions.Write(this, buffer.AsSpan(offset, count)); 324BuffersExtensions.Write(this, span);
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
479_connectionContext.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol));
Microsoft.Extensions.Caching.Hybrid (2)
Internal\InbuiltTypeSerializer.cs (2)
29=> target.Write(value); 60target.Write(new(oversized, 0, length));
Microsoft.Extensions.Caching.Hybrid.Tests (3)
BufferReleaseTests.cs (1)
111destination.Write(buffer);
L2Tests.cs (2)
189destination.Write(buffer); 203destination.Write(buffer);
Shared (1)
ServerSentEvents\SseFormatter.cs (1)
116bufferWriter.Write(_newLine);
System.IO.Pipelines (1)
System\IO\Pipelines\PipeWriter.cs (1)
115this.Write(source.Span);
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.Unix.cs (1)
435signature.Write(micBuffer.Span);
System\Net\Security\NegotiateStream.cs (1)
530_writeBuffer.Write(bufferToWrap.Span);
System.Net.ServerSentEvents (1)
System\Net\ServerSentEvents\SseFormatter.cs (1)
113bufferWriter.Write(s_newLine);