12 overrides of UnflushedBytes
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpResponsePipeWriter.cs (1)
97public override long UnflushedBytes => _pipeControl.UnflushedBytes;
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
213public override long UnflushedBytes
Internal\Infrastructure\StatusCheckPipeWriter.cs (1)
29public override long UnflushedBytes => _inner.UnflushedBytes;
Internal\Infrastructure\WrappingPipeWriter.cs (1)
24public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.TestHost (1)
ResponseBodyPipeWriter.cs (1)
101public override long UnflushedBytes => _pipe.Writer.UnflushedBytes;
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
232public override long UnflushedBytes => _index;
System.IO.Pipelines (2)
System\IO\Pipelines\Pipe.DefaultPipeWriter.cs (1)
46public override long UnflushedBytes => _pipe.GetUnflushedBytes();
System\IO\Pipelines\StreamPipeWriter.cs (1)
277public override long UnflushedBytes => _bytesBuffered;
System.Text.Json (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
232public override long UnflushedBytes => _index;
28 references to UnflushedBytes
InMemory.FunctionalTests (19)
Http2\Http2ConnectionTests.cs (6)
5905Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 5911Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 5915Assert.Equal(0, c.Response.BodyWriter.UnflushedBytes); 5961Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 5967Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 5971Assert.Equal(0, c.Response.BodyWriter.UnflushedBytes);
Http3\Http3ConnectionTests.cs (6)
610Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 616Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 620Assert.Equal(0, c.Response.BodyWriter.UnflushedBytes); 664Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 670Assert.Equal(length, c.Response.BodyWriter.UnflushedBytes); 674Assert.Equal(0, c.Response.BodyWriter.UnflushedBytes);
ResponseTests.cs (6)
4582Assert.Equal(length, context.Response.BodyWriter.UnflushedBytes); 4588Assert.Equal(length, context.Response.BodyWriter.UnflushedBytes); 4592Assert.Equal(0, context.Response.BodyWriter.UnflushedBytes); 4637Assert.Equal(length, context.Response.BodyWriter.UnflushedBytes); 4644Assert.Equal(length + 7, context.Response.BodyWriter.UnflushedBytes); 4648Assert.Equal(0, context.Response.BodyWriter.UnflushedBytes);
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http3\Http3OutputProducer.cs (1)
137public long UnflushedBytes => _pipeWriter.UnflushedBytes;
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
217return _innerPipeWriter.UnflushedBytes + _bytesBuffered;
Internal\Infrastructure\StatusCheckPipeWriter.cs (1)
29public override long UnflushedBytes => _inner.UnflushedBytes;
Internal\Infrastructure\WrappingPipeWriter.cs (1)
24public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
69public override long UnflushedBytes => _inner.UnflushedBytes;
Microsoft.AspNetCore.TestHost (1)
ResponseBodyPipeWriter.cs (1)
101public override long UnflushedBytes => _pipe.Writer.UnflushedBytes;
System.IO.Pipelines (1)
System\IO\Pipelines\PipeWriter.cs (1)
40/// <value><see langword="true" />If a class derived from <see cref="System.IO.Pipelines.PipeWriter" /> does not support getting the unflushed bytes, calls to <see cref="System.IO.Pipelines.PipeWriter.UnflushedBytes" /> throw <see cref="System.NotImplementedException" />.</value>
System.Text.Json (1)
System\Text\Json\Serialization\JsonConverter.cs (1)
196return state.FlushThreshold > 0 && pipeWriter.UnflushedBytes > state.FlushThreshold - writer.BytesPending;