211 overrides of Read
Aspire.Hosting (1)
Utils\HashDigestStream.cs (1)
50public override int Read(byte[] buffer, int offset, int count) => throw new NotImplementedException();
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsCdpConnectionTests.cs (1)
594public override int Read(byte[] buffer, int offset, int count)
Aspire.Hosting.Tests (1)
Dcp\GatedReadStream.cs (1)
47public override int Read(byte[] buffer, int offset, int count)
dotnet-svcutil-lib (9)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (1)
618public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\BufferedOutputStream.cs (1)
158public override int Read(byte[] buffer, int offset, int size)
FrameworkFork\System.ServiceModel\System\IdentityModel\HashStream.cs (1)
83public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (1)
220public override int Read([In, Out] byte[] array, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (1)
421public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
141public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (1)
37public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1099public override int Read(byte[] buffer, int offset, int count)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
239public override int Read(byte[] buffer, int offset, int count)
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (1)
125public override int Read(byte[] buffer, int offset, int count)
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (1)
125public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteJSDataStream.cs (1)
170public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
49public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFileStream.cs (1)
55public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Components.WebAssembly (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
49public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
64public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Components.WebView (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
49public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
64public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
28 public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
28 public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Http (1)
Internal\ReferenceReadStream.cs (1)
91public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Http.Connections (2)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Http.Connections.Client (1)
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
231public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\NonDisposableStream.cs (1)
70public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
101public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.RequestDecompression (1)
src\aspnetcore\src\Shared\SizeLimitedStream.cs (1)
47public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.ResponseCaching (2)
src\aspnetcore\src\Shared\SegmentWriteStream.cs (1)
107public override int Read(byte[] buffer, int offset, int count)
Streams\ResponseCachingStream.cs (1)
101public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
138public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Server.HttpSys (4)
RequestProcessing\OpaqueStream.cs (1)
78public override int Read(byte[] buffer, int offset, int count)
RequestProcessing\RequestStream.cs (1)
99public override unsafe int Read([In, Out] byte[] buffer, int offset, int size)
RequestProcessing\ResponseBody.cs (1)
425public override int Read([In, Out] byte[] buffer, int offset, int count)
ResponseStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count) => _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Server.IIS (7)
Core\DuplexStream.cs (1)
33public override int Read(byte[] buffer, int offset, int count)
Core\EmptyStream.cs (1)
30public override int Read(byte[] buffer, int offset, int count)
Core\HttpRequestStream.cs (1)
24public override int Read(byte[] buffer, int offset, int count)
Core\HttpUpgradeStream.cs (1)
173public override int Read(byte[] buffer, int offset, int count)
Core\WrappingStream.cs (1)
57public override int Read(byte[] buffer, int offset, int count)
Core\WriteOnlyStreamInternal.cs (1)
38public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
73public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\HttpRequestStream.cs (1)
52public override int Read(byte[] buffer, int offset, int count)
Internal\Http\HttpResponseStream.cs (1)
40public override int Read(byte[] buffer, int offset, int count)
Internal\Http\HttpUpgradeStream.cs (1)
173public override int Read(byte[] buffer, int offset, int count)
Internal\Infrastructure\WrappingStream.cs (1)
56public override int Read(byte[] buffer, int offset, int count)
Internal\Infrastructure\WriteOnlyStream.cs (1)
18public override int Read(byte[] buffer, int offset, int count)
Middleware\Internal\LoggingStream.cs (1)
76public override int Read(byte[] buffer, int offset, int count)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
73public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.SignalR.Common (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
278public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.TestHost (3)
AsyncStreamWrapper.cs (1)
42public override int Read(byte[] buffer, int offset, int count)
ResponseBodyReaderStream.cs (1)
67public override int Read(byte[] buffer, int offset, int count)
ResponseBodyWriterStream.cs (1)
27public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
src\sdk\src\Dotnet.Watch\Web.Middleware\ResponseStreamWrapper.cs (1)
147public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
299public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
60public override int Read(byte[] buffer, int offset, int count)
Microsoft.AspNetCore.WebUtilities (4)
BufferedReadStream.cs (1)
202public override int Read(byte[] buffer, int offset, int count)
FileBufferingReadStream.cs (1)
321public override int Read(byte[] buffer, int offset, int count)
FileBufferingWriteStream.cs (1)
95public override int Read(byte[] buffer, int offset, int count)
MultipartReaderStream.cs (1)
166public override int Read(byte[] buffer, int offset, int count)
Microsoft.Build (2)
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
47public override int Read(byte[] buffer, int offset, int count)
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
85public override int Read(byte[] buffer, int offset, int count)
Microsoft.Build.Framework (1)
BackEnd\BufferedReadStream.cs (1)
71public override int Read(byte[] buffer, int offset, int count)
Microsoft.CodeAnalysis (4)
Collections\ImmutableMemoryStream.cs (1)
69public override int Read(byte[] buffer, int offset, int count)
InternalUtilities\BlobBuildingStream.cs (1)
109public override int Read(byte[] buffer, int offset, int count)
InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count)
Text\SourceTextStream.cs (1)
95public override int Read(byte[] buffer, int offset, int count)
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
Microsoft.Diagnostics.DataContractReader.Contracts (1)
TargetStream.cs (1)
28public override unsafe int Read(byte[] buffer, int offset, int count)
Microsoft.DotNet.Cli.Utils (1)
BlockingMemoryStream.cs (1)
23public override int Read(byte[] buffer, int offset, int count)
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
1439public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
Microsoft.Extensions.AI.Abstractions.Tests (4)
Files\DelegatingHostedFileClientTests.cs (1)
252public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Files\HostedFileClientExtensionsTests.cs (1)
584public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Files\HostedFileDownloadStreamTests.cs (2)
95public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count); 130public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIFileDownloadStream.cs (1)
87public override int Read(byte[] buffer, int offset, int count) =>
Microsoft.Extensions.AI.Tests (2)
Files\LoggingHostedFileClientTests.cs (1)
552public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Files\OpenTelemetryHostedFileClientTests.cs (1)
625public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
NotSeekableStream.cs (1)
40public override int Read(byte[] buffer, int offset, int count) => _innerStream.Read(buffer, offset, count);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\NotSeekableStream.cs (1)
43public override int Read(byte[] buffer, int offset, int count) => _innerStream.Read(buffer, offset, count);
Microsoft.Maui.Controls (1)
StreamWrapper.cs (1)
63 public override int Read(byte[] buffer, int offset, int count)
Microsoft.ML.Core (3)
Utilities\HybridMemoryStream.cs (1)
203public override int Read(byte[] buffer, int offset, int count)
Utilities\SubsetStream.cs (1)
61public override int Read(byte[] buffer, int offset, int count)
Utilities\TextReaderStream.cs (1)
148public override int Read(byte[] buffer, int offset, int count)
Microsoft.ML.Data (1)
Utilities\ModelFileUtils.cs (1)
480public override int Read(byte[] buffer, int offset, int count)
Microsoft.ML.FastTree (1)
Utils\StreamExtensions.cs (1)
42public override int Read(byte[] buffer, int offset, int count)
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
1395public override int Read(byte[] buffer, int offset, int count) => _stream.Read(buffer, offset, count);
Microsoft.ML.Tokenizers.Tests (1)
SentencePieceTests.cs (1)
946public override int Read(byte[] buffer, int offset, int count) => _inner.Read(buffer, offset, count);
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
391public override int Read(byte[] buffer, int offset, int count) => throw new NotImplementedException();
Microsoft.TemplateEngine.Core (2)
Util\CombinedStream.cs (1)
36public override int Read(byte[] buffer, int offset, int count)
Util\StreamProxy.cs (1)
69public override int Read(byte[] buffer, int offset, int count) => _currentTargetStream.Read(buffer, offset, count);
Microsoft.TemplateEngine.Utils (1)
InMemoryFileSystem.cs (1)
904public override int Read(byte[] buffer, int offset, int count) => _basis.Read(buffer, offset, count);
NuGet.Packaging (2)
PackageArchiveReader.cs (1)
248public override int Read(byte[] buffer, int offset, int count)
Signing\Archive\ReadOnlyBufferedStream.cs (1)
147public override int Read(byte[] buffer, int offset, int count)
NuGet.Protocol (2)
Events\ProtocolDiagnosticsStream.cs (1)
44public override int Read(byte[] buffer, int offset, int count)
Utility\DownloadTimeoutStream.cs (1)
44public override int Read(byte[] buffer, int offset, int count)
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
80public override int Read(byte[] buffer, int offset, int count)
PresentationCore (4)
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
49public override int Read(byte[] buffer, int offset, int count)
MS\Internal\IO\Packaging\NetStream.cs (1)
122public override int Read(byte[] buffer, int offset, int count)
MS\Internal\IO\Packaging\ResponseStream.cs (1)
97public override int Read(byte[] buffer, int offset, int count)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (1)
56public override int Read(byte[] buffer, int offset, int count)
PresentationFramework (7)
MS\Internal\AppModel\BamlStream.cs (1)
193public override int Read(
MS\Internal\IO\Packaging\ByteStream.cs (1)
244public override int Read(byte[] buffer, int offset, int count)
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
81public override unsafe int Read(byte[] buffer, int offset, int count)
MS\Internal\Navigation\BindStream.cs (1)
303public override int Read(
System\Windows\Markup\Baml2006\SharedStream.cs (1)
163public override int Read(byte[] buffer, int offset, int count)
System\Windows\Markup\XamlStream.cs (2)
660public override int Read(byte[] buffer, int offset, int count) 823public override int Read(byte[] buffer, int offset, int count)
PresentationUI (2)
MS\Internal\Documents\Application\StreamProxy.cs (1)
138public override int Read(byte[] buffer, int offset, int count)
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
147public override int Read(byte[] buffer, int offset, int count)
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
174public override int Read(byte[] buffer, int index, int count)
ScenarioTests.Common.Tests (3)
ScenarioTestTypes.cs (2)
1033public override int Read(byte[] buffer, int offset, int count) 1115public override int Read(byte[] buffer, int offset, int count)
TestMockStream.cs (1)
67public override int Read(byte[] buffer, int offset, int count)
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
89public override int Read(byte[] buffer, int offset, int count) =>
System.Console (1)
System\IO\ConsoleStream.cs (1)
31public override int Read(byte[] buffer, int offset, int count)
System.Data.Common (2)
System\Data\SQLTypes\SQLBytes.cs (1)
727public override int Read(byte[] buffer, int offset, int count)
System\Data\SQLTypes\SqlXml.cs (1)
392public override int Read(byte[] buffer, int offset, int count)
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
178public override int Read(byte[] buffer, int offset, int count)
System\Formats\Tar\GnuSparseStream.cs (1)
159public override int Read(byte[] buffer, int offset, int count)
System.IO.Compression (14)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
178public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
95public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\DeflateZLib\DeflateStream.cs (2)
284public override int Read(byte[] buffer, int offset, int count) 1116public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); }
System\IO\Compression\GZipStream.cs (1)
97public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
113public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException(SR.NotSupported);
System\IO\Compression\WinZipAesStream.cs (1)
387public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\ZipArchiveEntry.cs (1)
2281public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\ZipCryptoStream.cs (1)
282public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\ZipCustomStreams.cs (3)
97public override int Read(byte[] buffer, int offset, int count) 335public override int Read(byte[] buffer, int offset, int count) 563public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\ZLibStream.cs (1)
138public override int Read(byte[] buffer, int offset, int count)
System\IO\Compression\Zstandard\ZstandardStream.Decompress.cs (1)
123public override int Read(byte[] buffer, int offset, int count)
System.IO.Compression.Brotli (1)
System\IO\Compression\dec\BrotliStream.Decompress.cs (1)
32public override int Read(byte[] buffer, int offset, int count)
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
357public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System.IO.Packaging (3)
System\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
124public override int Read(byte[] buffer, int offset, int count)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
73public override int Read(byte[] buffer, int offset, int count)
System\IO\Packaging\ZipWrappingStream.cs (1)
61public override int Read(
System.IO.Pipelines (2)
System\IO\Pipelines\PipeReaderStream.cs (1)
48public override int Read(byte[] buffer, int offset, int count)
System\IO\Pipelines\PipeWriterStream.cs (1)
57public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System.IO.Pipes (1)
System\IO\Pipes\PipeStream.Unix.cs (1)
35public override int Read(byte[] buffer, int offset, int count)
System.IO.Ports (1)
System\IO\Ports\SerialStream.Unix.cs (1)
417public override int Read(byte[] array, int offset, int count)
System.Memory (1)
System\Buffers\ReadOnlySequenceStream.cs (1)
70public override int Read(byte[] buffer, int offset, int count)
System.Net.Http (4)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
90public override int Read(byte[] buffer, int offset, int count)
System\Net\Http\HttpBaseStream.cs (1)
45public sealed override int Read(byte[] buffer, int offset, int count)
System\Net\Http\HttpContent.cs (1)
1156public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); }
System\Net\Http\MultipartContent.cs (1)
443public override int Read(byte[] buffer, int offset, int count)
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
78public override int Read(byte[] buffer, int offset, int count)
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpRequestStream.cs (1)
158public override int Read(byte[] buffer, int offset, int count)
System\Net\Http\WinHttpResponseStream.cs (1)
290public override int Read(byte[] buffer, int offset, int count)
System.Net.HttpListener (2)
System\Net\HttpRequestStream.cs (1)
16public override int Read(byte[] buffer, int offset, int count)
System\Net\HttpResponseStream.cs (1)
34public override int Read(byte[] buffer, int offset, int size) => throw new InvalidOperationException(SR.net_writeonlystream);
System.Net.Mail (1)
System\Net\DelegatedStream.cs (1)
129public sealed override int Read(byte[] buffer, int offset, int count)
System.Net.Quic (1)
System\Net\Quic\QuicStream.Stream.cs (1)
100public override int Read(byte[] buffer, int offset, int count)
System.Net.Requests (5)
System\Net\FtpDataStream.cs (1)
209public override int Read(byte[] buffer, int offset, int size)
System\Net\HttpWebResponse.cs (1)
396public override int Read(byte[] buffer, int offset, int count)
System\Net\NetworkStreamWrapper.cs (1)
142public override int Read(byte[] buffer, int offset, int size)
System\Net\RequestBufferingStream.cs (1)
56public override int Read(byte[] buffer, int offset, int count)
System\Net\RequestStream.cs (1)
80public override int Read(byte[] buffer, int offset, int count)
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (1)
296public override int Read(byte[] buffer, int offset, int count)
System\Net\Security\SslStream.cs (1)
807public override int Read(byte[] buffer, int offset, int count)
System.Net.Sockets (1)
System\Net\Sockets\NetworkStream.cs (1)
227public override int Read(byte[] buffer, int offset, int count)
System.Net.WebClient (2)
src\runtime\src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (1)
115public override int Read(byte[] buffer, int offset, int count) { throw new NotSupportedException(); }
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
90public override int Read(byte[] buffer, int offset, int count)
System.Net.WebSockets (1)
System\Net\WebSockets\WebSocketStream.cs (1)
165public override int Read(byte[] buffer, int offset, int count) =>
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
472public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
264public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (1)
317public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\ReadOnlyMemoryStream.cs (1)
101public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (1)
146public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (1)
74public override int Read(byte[] buffer, int offset, int count) => _strategy.Read(buffer, offset, count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (1)
206public sealed override int Read(byte[] buffer, int offset, int count) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (2)
1048public override int Read(byte[] buffer, int offset, int count) => 0; 1190public override int Read(byte[] bytes, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringStream.cs (1)
100public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
336public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\WritableMemoryStream.cs (1)
103public override int Read(byte[] buffer, int offset, int count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
289public override int Read(byte[] buffer, int offset, int count)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
164public override int Read(byte[] buffer, int offset, int count) =>
System\Xml\EncodingStreamWrapper.cs (1)
584public override int Read(byte[] buffer, int offset, int count) =>
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
70public override int Read(byte[] buffer, int offset, int count) => throw new NotSupportedException();
System.Security.Cryptography (1)
System\Security\Cryptography\CryptoStream.cs (1)
292public override int Read(byte[] buffer, int offset, int count)
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1071public override int Read(byte[] buffer, int offset, int count)
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\Connection.cs (1)
258public override int Read(byte[] buffer, int offset, int count)
System.ServiceModel.Primitives (9)
Internals\System\Runtime\BufferedOutputStream.cs (1)
184public override int Read(byte[] buffer, int offset, int size)
Internals\System\Xml\XmlMtomReader.cs (2)
2182public override int Read(byte[] buffer, int offset, int count) 2917public override int Read(byte[] buffer, int offset, int count)
System\IdentityModel\HashStream.cs (1)
84public override int Read(byte[] buffer, int offset, int count)
System\ServiceModel\Channels\BufferedReadStream.cs (1)
194public override int Read(byte[] array, int offset, int count)
System\ServiceModel\Channels\BufferedWriteStream.cs (1)
230public override int Read(byte[] array, int offset, int count)
System\ServiceModel\Channels\DelegatingStream.cs (1)
89public override int Read(byte[] buffer, int offset, int count) => BaseStream.Read(buffer, offset, count);
System\ServiceModel\Channels\ProducerConsumerStream.cs (1)
40public override int Read(byte[] buffer, int offset, int count)
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
326public override int Read(byte[] buffer, int offset, int count)
System.Speech (1)
Internal\SeekableReadStream.cs (1)
136public override int Read(byte[] buffer, int offset, int count)
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (1)
54public override int Read(byte[] buffer, int index, int count)
253 references to Read
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
32while ((bytesRead = stream.Read(buffer, 0, buffer.Length)) > 0)
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
397_end = stream.Read(_data, 0, XmlReader.DefaultBufferSize); 2052int cbRead = _inStrm.Read(data, end, cbFill);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (2)
1901while ((bytesRead = input.Read(buffer, 0, buffer.Length)) > 0) { 1918read = input.Read(bytes, byteCount, bytes.Length - byteCount);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (2)
2943int read = stream.Read(_ps.bytes, _ps.bytesUsed, _ps.bytes.Length - _ps.bytesUsed); 3499int read = _ps.stream.Read(_ps.bytes, _ps.bytesUsed, _ps.bytes.Length - _ps.bytesUsed);
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (3)
310int read = _stream.Read(_bytes, _byteOffset + _byteCount, count); 625return _stream.Read(buffer, offset, count); 629_byteCount = _stream.Read(_bytes, _byteCount, (_chars.Length - 1) * 2);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (1)
233int actual = _stream.Read(_buffer, _offsetMax, needed);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (1)
659return _stream.Read(buffer, offset, size);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
143return _stream.Read(buffer, offset, count);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
168bytesToRead = responseStream.Read(responseBuffer, 0, (int)bufferSize);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (1)
35int bytesRead = ds.Read(tempBuffer, 0, DecompressBlockSize);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
385bytesRead = stream.Read(block, 0, blockSize);
Metadata\MetadaExchangeResolver.cs (1)
422while ((idx = responseStream.Read(buffer, 0, buffer.Length)) != 0)
Extensibility.WebSockets.IntegrationTests (3)
WebSocketTests.4.1.0.cs (3)
60readResult = stream.Read(buffer, 0, buffer.Length); 301readResult = stream.Read(buffer, 0, buffer.Length); 464readResult = stream.Read(buffer, 0, buffer.Length);
GenerateDocumentationAndConfigFiles (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
30 var bytesRead = _baseStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
30 var bytesRead = _baseStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Http (1)
Internal\ReferenceReadStream.cs (1)
96var read = _inner.Read(buffer, offset, (int)toRead);
Microsoft.AspNetCore.HttpLogging (2)
BufferingStream.cs (1)
233return _innerStream.Read(buffer, offset, count);
RequestBufferingStream.cs (1)
62var res = _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\NonDisposableStream.cs (1)
72return _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
102=> _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Utilities\Hashing\NonCryptographicHashAlgorithm.cs (1)
118int read = stream.Read(buffer, 0, buffer.Length);
Microsoft.AspNetCore.RequestDecompression (1)
src\aspnetcore\src\Shared\SizeLimitedStream.cs (1)
49var bytesRead = _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.ResponseCaching (1)
Streams\ResponseCachingStream.cs (1)
102=> _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\OpaqueStream.cs (1)
80return _requestStream.Read(buffer, offset, count);
ResponseStream.cs (1)
35public override int Read(byte[] buffer, int offset, int count) => _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.Server.IIS (3)
Core\DuplexStream.cs (1)
35return _requestBody.Read(buffer, offset, count);
Core\HttpUpgradeStream.cs (1)
175return _requestStream.Read(buffer, offset, count);
Core\WrappingStream.cs (1)
58=> _inner.Read(buffer, offset, count);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpUpgradeStream.cs (1)
175return _requestStream.Read(buffer, offset, count);
Internal\Infrastructure\WrappingStream.cs (1)
57=> _inner.Read(buffer, offset, count);
Middleware\Internal\LoggingStream.cs (1)
78int read = _inner.Read(buffer, offset, count);
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
414var read = stream.Read(output, total, count - total);
Microsoft.AspNetCore.TestHost (1)
AsyncStreamWrapper.cs (1)
49return _inner.Read(buffer, offset, count);
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
62return _innerStream.Read(buffer, offset, count);
Microsoft.AspNetCore.WebUtilities (4)
BufferedReadStream.cs (3)
216return _inner.Read(buffer, offset, count); 253_bufferCount = _inner.Read(_buffer, 0, _buffer.Length); 296int read = _inner.Read(_buffer, _bufferOffset + _bufferCount, _buffer.Length - _bufferCount - _bufferOffset);
HttpRequestStreamReader.cs (1)
463_bytesRead = _stream.Read(_byteBuffer, 0, _byteBufferSize);
Microsoft.Build (3)
Logging\BinaryLogger\Postprocessing\StreamExtensions.cs (1)
46int read = stream.Read(buffer, 0, (int)Math.Min(bytesCount - totalRead, buffer.Length));
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
50int read = _stream.Read(buffer, offset, count);
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
92int cnt = _stream.Read(buffer, offset, count);
Microsoft.Build.Framework (4)
BackEnd\BufferedReadStream.cs (2)
84int innerReadCount = _innerStream.Read(buffer, offset + alreadyCopied, count - alreadyCopied); 107int innerReadCount = _innerStream.Read(_buffer, 0, _buffer.Length);
BackEnd\InterningBinaryReader.cs (1)
127n = BaseStream.Read(rawBuffer, 0, readLength);
EncodingUtilities.cs (1)
160bytesRead = stream.Read(buffer, 0, preamble.Length);
Microsoft.Build.Tasks.Git (1)
GitDataReader\GitRefTableReader.Primitives.cs (1)
138var read = stream.Read(buffer, totalRead, count - totalRead);
Microsoft.CodeAnalysis (3)
Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.CodeAnalysis.CodeStyle (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
TemporaryStorage\TemporaryStorageService.cs (1)
171var count = stream.Read(buffer, 0, buffer.Length);
Microsoft.DiaSymReader (2)
Utilities\ComStreamWrapper.cs (2)
44/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 62bytesRead = stream.Read(buffer, offset + totalBytesRead, count - totalBytesRead);
Microsoft.DotNet.StrongName (1)
Utils.cs (1)
119if (peStream.Read(peImage, 0, peImage.Length) != peImage.Length)
Microsoft.DotNet.TemplateLocator (2)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.SystemTextJson.cs (2)
54var readCount = stream.Read(buffer, 0, buffer.Length); 96var readCount = stream.Read(newBuffer, remaining, newBuffer.Length - remaining);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIFileDownloadStream.cs (1)
88_innerStream.Read(buffer, offset, count);
OpenAISpeechToTextClient.cs (1)
200int n = audioSpeechStream.Read(header, bytesRead, header.Length - bytesRead);
Microsoft.Extensions.DependencyModel (2)
DependencyContextJsonReader.cs (2)
83lastRead = stream.Read( 109lastRead = stream.Read(rented, written, rented.Length - written);
Microsoft.Maui.Controls (1)
StreamWrapper.cs (1)
65 return _wrapped.Read(buffer, offset, count);
Microsoft.ML.AutoML (3)
ColumnInference\TextFileSample.cs (3)
107int count = stream.Read(firstChunk, 0, firstChunk.Length); 151int readCount = stream.Read(chunk, 0, chunkSize); 165int readCount = stream.Read(buf, 0, buf.Length);
Microsoft.ML.Core (6)
Utilities\HybridMemoryStream.cs (1)
207return MyStream.Read(buffer, offset, count);
Utilities\Stream.cs (3)
48(read = source.Read(buffer, 0, (int)Math.Min(buffer.Length, remaining))) != 0) 741read = s.Read(buff, offset + pos, length - pos); 760read = s.Read(buff, offset + pos, length - pos);
Utilities\SubsetStream.cs (2)
64return _stream.Read(buffer, offset, count); 67int retval = _stream.Read(buffer, offset, count);
Microsoft.ML.Data (2)
Utilities\ModelFileUtils.cs (1)
483return _entry.Stream.Read(buffer, offset, count);
Utilities\StreamUtils.cs (1)
218int read = stream.Read(buffer, offset, count);
Microsoft.ML.Ensemble (2)
EntryPoints\CreateEnsemble.cs (2)
393int bytesRead = s.Read(buffer, 0, len); 397if (s.Read(buffer, 0, 1) > 0)
Microsoft.ML.FastTree (1)
Utils\StreamExtensions.cs (1)
44return _inner.Read(buffer, offset, count);
Microsoft.ML.ImageAnalytics (1)
ImageLoader.cs (1)
340while ((bytesRead = stream.Read(readBuffer, 0, readBuffer.Length)) > 0)
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
1395public override int Read(byte[] buffer, int offset, int count) => _stream.Read(buffer, offset, count);
Microsoft.ML.TorchSharp (1)
Utils\FileUtils.cs (1)
55var numBytesRead = stream.Read(byteBuffer, 0, numBytesConsumed);
Microsoft.NET.Build.Tasks (2)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadManifestReader.SystemTextJson.cs (2)
54var readCount = stream.Read(buffer, 0, buffer.Length); 96var readCount = stream.Read(newBuffer, remaining, newBuffer.Length - remaining);
Microsoft.NET.HostModel (1)
MachO\FileUtils\StreamBasedMachOFile.cs (1)
36int bytesRead = _stream.Read(buffer, offset, count);
Microsoft.NET.Sdk.WorkloadManifestReader (2)
WorkloadManifestReader.SystemTextJson.cs (2)
54var readCount = stream.Read(buffer, 0, buffer.Length); 96var readCount = stream.Read(newBuffer, remaining, newBuffer.Length - remaining);
Microsoft.Private.Windows.Core (1)
src\winforms\src\Microsoft.Private.Windows.Polyfills\System\IO\StreamExtensions.cs (1)
34int numRead = stream.Read(sharedBuffer, 0, buffer.Length);
Microsoft.TemplateEngine.Core (6)
Operations\Include.cs (2)
98int bytesRead = data!.Read(composite, totalBytesRead, composite.Length - totalBytesRead); 117int bytesRead = data!.Read(composite, totalBytesRead, composite.Length - totalBytesRead);
Util\CombinedStream.cs (2)
49int bytesRead = _stream1.Read(buffer, offset + totalBytesRead, count - totalBytesRead); 69int bytesRead = _stream2.Read(buffer, offset + totalBytesRead, count - totalBytesRead);
Util\ProcessorState.cs (1)
539int bytesRead = stream.Read(buffer, totalRead + offset, count - totalRead);
Util\StreamProxy.cs (1)
69public override int Read(byte[] buffer, int offset, int count) => _currentTargetStream.Read(buffer, offset, count);
Microsoft.TemplateEngine.Utils (1)
InMemoryFileSystem.cs (1)
904public override int Read(byte[] buffer, int offset, int count) => _basis.Read(buffer, offset, count);
Mono.Cecil (4)
Mono.Cecil\EmbeddedResource.cs (2)
84 while ((read = stream.Read (data, offset, length - offset)) > 0) 92 while ((read = stream.Read (buffer, 0, buffer.Length)) > 0)
Mono.Cecil\ModuleDefinition.cs (1)
1388 while ((read = self.Read (buffer, 0, buffer.Length)) != 0)
Mono.Security.Cryptography\CryptoService.cs (1)
117 int read = stream.Read (buffer, 0, System.Math.Min (buffer.Length, length));
Mono.Cecil.Pdb (3)
Microsoft.Cci.Pdb\BitAccess.cs (2)
27stream.Read(buffer, 0, capacity); 38stream.Read(buffer, offset, count);
Microsoft.Cci.Pdb\PdbReader.cs (1)
19reader.Read(bytes, offset, count);
NuGet.PackageManagement (3)
Utility\StreamUtility.cs (3)
50var bytesRead = stream.Read(a, 0, 30); 112bytesRead = stream.Read(buffer, 0, buffer.Length); 115var otherBytesRead = otherStream.Read(otherBuffer, 0, bytesRead);
NuGet.Packaging (5)
PackageArchiveReader.cs (1)
250return _inner.Read(buffer, offset, count);
Signing\Archive\ReadOnlyBufferedStream.cs (1)
344bytesRead = _stream.Read(_buffer, offset, count);
Signing\Archive\SignedPackageArchiveIOUtility.cs (3)
64int bytesRead = stream.Read(buffer, offset: 0, bytesToRead); 104int bytesRead = stream.Read(buffer, offset: 0, bytesToRead); 175int bytesRead = stream.Read(buffer, offset: 0, bytesToRead);
NuGet.ProjectModel (4)
src\nuget-client\build\Shared\Utf8JsonStreamReader.cs (4)
61if (_stream.Read(_buffer, offset: 0, count: 1) == 1 && 62_stream.Read(_buffer, offset: ++_bufferUsed, count: 1) == 1 && 63_stream.Read(_buffer, offset: ++_bufferUsed, count: 1) == 1) 373bytesRead = _stream.Read(_buffer, _bufferUsed, spaceLeftInBuffer);
NuGet.Protocol (2)
Events\ProtocolDiagnosticsStream.cs (1)
48var read = _baseStream.Read(buffer, offset, count);
Utility\DownloadTimeoutStream.cs (1)
46return _networkStream.Read(buffer, offset, count);
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
82return SourceStream.Read(buffer, offset, count);
PresentationCore (13)
MS\Internal\FontCache\FontSource.cs (1)
362int numberOfBytesRead = fontStream.Read(fileReadBuffer, memoryFontSize, availableBytes);
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
454uint bytesRead = (uint) stream.Read(bytes, 0, (int)cbInsize); 475uint bytesRead = (uint) stream.Read(bytes, 0, (int)size);
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
222uint bytesRead = (uint) stream.Read (in_data, 0, (int)cbInSize);
MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1217int bytesRead = stream.Read(buffer,
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
612readBytes = s.Read(_buffer, 0, WriteBufferSize);
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
56int bytesRead = _obfuscatedStream.Read(buffer, offset, count);
MS\Internal\IO\Packaging\NetStream.cs (1)
157bytesRead = _tempFileStream.Read(buffer, offset, count); // read from the temp file
MS\Internal\IO\Packaging\ResponseStream.cs (1)
103int rslt = _innerStream.Read(buffer, offset, count);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (1)
61return (_baseStream.Read(buffer, offset, count));
System\Windows\Ink\StrokeCollection.cs (1)
137count = stream.Read(buffer, 0, 4096);
System\Windows\Media\ColorContext.cs (1)
602numBytesRead += stm.Read(rawBytes, numBytesRead, bufferSize - numBytesRead);
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1318read = bitmapStream.Read(buffer, 0, 1024);
PresentationFramework (5)
MS\Internal\AppModel\BamlStream.cs (1)
199return _stream.Read(buffer, offset, count);
MS\Internal\IO\Packaging\ManagedIStream.cs (1)
43Int32 bytesRead = _ioStream.Read(buffer, 0, (int) bufferSize);
MS\Internal\Navigation\BindStream.cs (1)
309int bytes = _stream.Read(buffer, offset, count);
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1116while (totalRead < toRead && (bytesRead = s.Read(pooledArray, 0, toRead - totalRead)) > 0)
System\Windows\Markup\Baml2006\SharedStream.cs (1)
179bytesRead = _baseStream.Read(buffer, offset, (int)(end - _position));
PresentationUI (3)
MS\Internal\Documents\Application\StreamHelper.cs (1)
59read = source.Read(buffer, 0, bufferSize);
MS\Internal\Documents\Application\StreamProxy.cs (1)
140return _proxy.Read(buffer, offset, count);
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
149return _active.Read(buffer, offset, count);
ReachFramework (1)
Serialization\ColorTypeConverter.cs (1)
331while ( (count = profileStream.Read( buffer, 0, buffer.Length) ) > 0 )
Roslyn.Diagnostics.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\Hashing\NonCryptographicHashAlgorithm.cs (1)
119int read = stream.Read(buffer, 0, buffer.Length);
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (2)
21/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 43bytesRead = stream.Read(buffer,
ScenarioTests.Common.Tests (2)
ScenarioTestTypes.cs (1)
1211readResult = stream.Read(buffer, 0, buffer.Length);
TestMockStream.cs (1)
71: InnerStream.Read(buffer, offset, count);
System.Configuration.ConfigurationManager (2)
System\Configuration\MgmtConfigurationRecord.cs (2)
1025int count = streamRead.Read(readBuffer, 0, (int)streamRead.Length); 2995int count = streamRead.Read(readBuffer, 0, (int)streamRead.Length);
System.Data.Common (1)
System\Data\SQLTypes\SqlXml.cs (1)
406int iBytesRead = _stream.Read(buffer, offset, count);
System.Formats.Nrbf (1)
System\Formats\Nrbf\NrbfDecoder.cs (1)
75int read = stream.Read(buffer, offset, buffer.Length - offset);
System.IO.Compression (3)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
125int bytes = _stream!.Read(_buffer, 0, _buffer.Length);
System\IO\Compression\DeflateZLib\DeflateStream.cs (1)
327int n = _stream.Read(_buffer, 0, _buffer.Length);
System\IO\Compression\ZipCustomStreams.cs (1)
102return _baseStream.Read(buffer, offset, count);
System.IO.Compression.Brotli (1)
System\IO\Compression\dec\BrotliStream.Decompress.cs (1)
69int bytesRead = _stream.Read(_buffer, _bufferCount, _buffer.Length - _bufferCount);
System.IO.Packaging (3)
System\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
127return _stream.Read(buffer, offset, count);
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
556bytesRead = pieceStream.Read(readBuffer, 0, bytesToRead);
System\IO\Packaging\ZipWrappingStream.cs (1)
67return _baseStream.Read(buffer, offset, count);
System.Net.Http (2)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
92return _innerStream.Read(buffer, offset, count);
System\Net\Http\MultipartContent.cs (1)
455int bytesRead = _current.Read(buffer, offset, count);
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
80int read = _innerStream.Read(buffer, offset, count);
System.Net.HttpListener (1)
System\Net\Managed\HttpRequestStream.Managed.cs (1)
113nread = _stream.Read(buffer, offset, size);
System.Net.Requests (2)
System\Net\FtpDataStream.cs (1)
215readBytes = _stream.Read(buffer, offset, size);
System\Net\NetworkStreamWrapper.cs (1)
144return Stream.Read(buffer, offset, size);
System.Net.Security (1)
System\Net\Security\NegotiateStream.cs (1)
303return InnerStream.Read(buffer, offset, count);
System.Net.WebClient (2)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
92return _innerStream.Read(buffer, offset, count);
System\Net\WebClient.cs (1)
849while ((bytesRead = readStream.Read(copyBuffer, 0, copyBuffer.Length)) != 0)
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BinaryReader.cs (2)
425return _stream.Read(buffer, index, count); 506int n = _stream.Read([], 0, 0);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (4)
509return _stream.Read(buffer, offset, count) + alreadySatisfied; 514_readLen = _stream.Read(_buffer, 0, _bufferSize); 568_readLen = _stream.Read(_buffer, 0, _bufferSize); 757_readLen = _stream.Read(_buffer, 0, _bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
268return _strategy.Read(buffer, offset, count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (4)
185? _strategy.Read(arraySegment.Array, arraySegment.Offset, arraySegment.Count) 195n = _strategy.Read(_buffer, 0, _bufferSize); 236? _strategy.Read(arraySegment.Array, arraySegment.Offset + n, arraySegment.Count - n) 270_readLen = _strategy.Read(_buffer, 0, _bufferSize);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (1)
74public override int Read(byte[] buffer, int offset, int count) => _strategy.Read(buffer, offset, count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (5)
68while ((bytesRead = Read(buffer, 0, buffer.Length)) != 0) 245return thisTask._stream.Read(thisTask._buffer!, thisTask._offset, thisTask._count); 788int numRead = Read(sharedBuffer, 0, buffer.Length); 806int r = Read(oneByteArray, 0, 1); 1194return _stream.Read(bytes, offset, count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs (4)
627int len = _stream.Read(_byteBuffer, _bytePos, _byteBuffer.Length - _bytePos); 641_byteLen = _stream.Read(_byteBuffer, 0, _byteBuffer.Length); 731int len = _stream.Read(_byteBuffer, _bytePos, _byteBuffer.Length - _bytePos); 745_byteLen = _stream.Read(_byteBuffer, 0, _byteBuffer.Length);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
325int innerBytesReadJustNow = _innerStream.Read(rentedBytes, 0, DefaultReadByteBufferSize);
System.Private.DataContractSerialization (2)
System\Xml\EncodingStreamWrapper.cs (1)
601_byteCount = _stream.Read(_bytes, _byteCount, (_chars.Length - 1) * 2);
System\Xml\XmlDictionaryWriter.cs (1)
203bytesRead = stream.Read(block, 0, blockSize);
System.Private.Xml (3)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
365_end = stream.Read(_data, 0, XmlReader.DefaultBufferSize); 2039int cbRead = _inStrm.Read(data, end, cbFill);
System\Xml\Core\XmlTextReaderImpl.cs (1)
3460int read = _ps.stream.Read(_ps.bytes, _ps.bytesUsed, _ps.bytes.Length - _ps.bytesUsed);
System.Reflection.Metadata (2)
System\Reflection\Internal\Utilities\StreamExtensions.cs (2)
20/// Unlike <see cref="Stream.Read(byte[], int, int)"/> it is not guaranteed that 38bytesRead = stream.Read(buffer,
System.Resources.Extensions (1)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
604while ((read = s.Read(buffer, 0, buffer.Length)) != 0)
System.Resources.Writer (1)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
604while ((read = s.Read(buffer, 0, buffer.Length)) != 0)
System.Security.Cryptography (3)
System\Security\Cryptography\CryptoStream.cs (2)
352_stream.Read(tempInputBuffer, _inputBufferIndex, numWholeBlocksInBytes - _inputBufferIndex); 429_stream.Read(_inputBuffer, _inputBufferIndex, _inputBlockSize - _inputBufferIndex);
System\Security\Cryptography\HashAlgorithm.cs (1)
102while ((bytesRead = inputStream.Read(buffer, 0, buffer.Length)) > 0)
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseMessage.cs (1)
463while ((bytesRead = contentStream.Read(contentBuffer, 0, contentBuffer.Length)) > 0)
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
598readBytes = data!.Read(buffer, 0, buffer.Length);
System\Security\Cryptography\Xml\Utils.cs (1)
384while ((numBytes = input.Read(bytes, 0, count)) > 0)
System\Security\Cryptography\Xml\XmlDsigBase64Transform.cs (1)
68bytesRead = inputStream.Read(buffer, 0, 1024);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
186bytesToRead = responseStream.Read(responseBuffer, 0, (int)bufferSize);
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\Connection.cs (1)
409return Stream.Read(buffer, offset, size);
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
97int bytesRead = _inputStream.Read(dummy, 0, dummy.Length);
System.ServiceModel.Primitives (13)
Internals\System\Xml\XmlMtomReader.cs (8)
443read = contentStream.Read(bytes, 0, size); 1104read = stream.Read(bytes, 0, size); 1241int actual = _part.Stream.Read(buffer, offset + read, count - read); 1285int actual = _part.Stream.Read(buffer, offset + read, count - read); 1422read = _part.Stream.Read(buffer, offset, byteCount); 1910int r = stream.Read(buffer, offset + read, count - read); 2668maxOffset = stream.Read(buffer, 0, buffer.Length); 2945return read + stream.Read(buffer, offset, count);
System\ServiceModel\Channels\BufferedReadStream.cs (3)
235return _stream.Read(array, offset, count) + alreadySatisfied; 239_readLen = _stream.Read(_buffer, 0, _bufferSize); 422_readLen = _stream.Read(_buffer, 0, _bufferSize);
System\ServiceModel\Channels\DelegatingStream.cs (1)
89public override int Read(byte[] buffer, int offset, int count) => BaseStream.Read(buffer, offset, count);
System\ServiceModel\Channels\MessageEncoderCompressionHandler.cs (1)
35int bytesRead = ds.Read(tempBuffer, 0, DecompressBlockSize);
System.Speech (5)
Internal\Helpers.cs (2)
62bytesRead = inputStream.Read(buffer, 0, bufferSize); 86int read = stream.Read(buffer, offset, count);
Internal\SapiInterop\SpStreamWrapper.cs (1)
43read = _stream.Read(pv, 0, cb);
Internal\SeekableReadStream.cs (2)
141return _baseStream.Read(buffer, offset, count); 168int localBytesRead = _baseStream.Read(buffer, offset, count);
System.Text.Encoding.CodePages (7)
System\Text\BaseCodePageEncoding.cs (3)
106int bytesRead = stream.Read(codePageDataFileHeader, 0, codePageDataFileHeader.Length); 144int bytesRead = stream.Read(codePageIndex, 0, codePageIndex.Length); 190int bytesRead = stream.Read(codePageHeader, 0, codePageHeader!.Length);
System\Text\DBCSCodePageEncoding.cs (2)
138int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, m_dataSize); 250int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, m_dataSize);
System\Text\SBCSCodePageEncoding.cs (2)
102int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, buffer.Length); 155int bytesRead = s_codePagesEncodingDataStream.Read(buffer, 0, buffer.Length);
System.Text.Json (2)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
826lastRead = stream.Read( 852lastRead = stream.Read(rented, written, rented.Length - written);
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1751transferred = _editStream.Read(bytes, 0, cb);