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