205 overrides of SetLength
Aspire.Hosting (1)
Utils\HashDigestStream.cs (1)
52public override void SetLength(long value) => throw new NotImplementedException();
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsCdpConnectionTests.cs (1)
627public override void SetLength(long value)
Aspire.Hosting.Tests (1)
Dcp\GatedReadStream.cs (1)
80public override void SetLength(long value)
dotnet-svcutil-lib (9)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (1)
745public override void SetLength(long value)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\BufferedOutputStream.cs (1)
173public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\IdentityModel\HashStream.cs (1)
110public override void SetLength(long length)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (1)
549public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (1)
437public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
161public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (1)
158public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1111public override void SetLength(long value)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
342public override void SetLength(long value) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); }
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (1)
175public override void SetLength(long value) => throw new NotSupportedException();
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\SectionData.cs (1)
175public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteJSDataStream.cs (1)
176public override void SetLength(long value)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
97public override void SetLength(long value) => throw new NotSupportedException();
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile\BrowserFileStream.cs (1)
61public override void SetLength(long value)
Microsoft.AspNetCore.Components.WebAssembly (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
97public override void SetLength(long value) => throw new NotSupportedException();
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
70public override void SetLength(long value)
Microsoft.AspNetCore.Components.WebView (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
97public override void SetLength(long value) => throw new NotSupportedException();
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
70public override void SetLength(long value)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
45 public override void SetLength(long value) => _baseStream.SetLength(value);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
45 public override void SetLength(long value) => _baseStream.SetLength(value);
Microsoft.AspNetCore.Http (1)
Internal\ReferenceReadStream.cs (1)
126public override void SetLength(long value)
Microsoft.AspNetCore.Http.Connections (2)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
45public override void SetLength(long value)
Microsoft.AspNetCore.Http.Connections.Client (1)
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
45public override void SetLength(long value)
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
246public override void SetLength(long value)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\NonDisposableStream.cs (1)
151public override void SetLength(long value)
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
60public override void SetLength(long value)
Microsoft.AspNetCore.RequestDecompression (1)
src\aspnetcore\src\Shared\SizeLimitedStream.cs (1)
72public override void SetLength(long value)
Microsoft.AspNetCore.ResponseCaching (2)
src\aspnetcore\src\Shared\SegmentWriteStream.cs (1)
117public override void SetLength(long value)
Streams\ResponseCachingStream.cs (1)
60public override void SetLength(long value)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
148public override void SetLength(long value)
Microsoft.AspNetCore.Server.HttpSys (4)
RequestProcessing\OpaqueStream.cs (1)
71public override void SetLength(long value)
RequestProcessing\RequestStream.cs (1)
78public override void SetLength(long value) => throw new NotSupportedException(Resources.Exception_NoSeek);
RequestProcessing\ResponseBody.cs (1)
420public override void SetLength(long value)
ResponseStream.cs (1)
33public override void SetLength(long value) => _innerStream.SetLength(value);
Microsoft.AspNetCore.Server.IIS (6)
Core\DuplexStream.cs (1)
43public override void SetLength(long value)
Core\HttpUpgradeStream.cs (1)
168public override void SetLength(long value)
Core\ReadOnlyStream.cs (1)
43public override void SetLength(long value)
Core\WrappingStream.cs (1)
72public override void SetLength(long value)
Core\WriteOnlyStreamInternal.cs (1)
61public override void SetLength(long value)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
68public override void SetLength(long value)
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\HttpRequestStream.cs (1)
76public override void SetLength(long value)
Internal\Http\HttpResponseStream.cs (1)
69public override void SetLength(long value)
Internal\Http\HttpUpgradeStream.cs (1)
168public override void SetLength(long value)
Internal\Infrastructure\StatusCheckWriteStream.cs (1)
59public override void SetLength(long value)
Internal\Infrastructure\ThrowingWasUpgradedWriteOnlyStream.cs (1)
30public override void SetLength(long value)
Internal\Infrastructure\WrappingStream.cs (1)
71public override void SetLength(long value)
Middleware\Internal\LoggingStream.cs (1)
121public override void SetLength(long value)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
68public override void SetLength(long value)
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (1)
45public override void SetLength(long value)
Microsoft.AspNetCore.SignalR.Common (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
280public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.TestHost (3)
AsyncStreamWrapper.cs (1)
77public override void SetLength(long value)
ResponseBodyReaderStream.cs (1)
49public override void SetLength(long value) => throw new NotSupportedException();
ResponseBodyWriterStream.cs (1)
37public override void SetLength(long value)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
src\sdk\src\Dotnet.Watch\Web.Middleware\ResponseStreamWrapper.cs (1)
157public override void SetLength(long value) => throw new NotSupportedException();
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
309public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
90public override void SetLength(long value)
Microsoft.AspNetCore.WebUtilities (4)
BufferedReadStream.cs (1)
151public override void SetLength(long value)
FileBufferingReadStream.cs (1)
415public override void SetLength(long value)
FileBufferingWriteStream.cs (1)
187public override void SetLength(long value) => throw new NotSupportedException();
MultipartReaderStream.cs (1)
109public override void SetLength(long value)
Microsoft.Build (2)
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
103public override void SetLength(long value) => throw new NotImplementedException();
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
168public override void SetLength(long value)
Microsoft.Build.Framework (1)
BackEnd\BufferedReadStream.cs (1)
189public override void SetLength(long value)
Microsoft.CodeAnalysis (4)
Collections\ImmutableMemoryStream.cs (1)
114public override void SetLength(long value)
InternalUtilities\BlobBuildingStream.cs (1)
114public override void SetLength(long value)
InternalUtilities\ReadOnlyUnmanagedMemoryStream.cs (1)
129public override void SetLength(long value)
Text\SourceTextStream.cs (1)
163public override void SetLength(long value)
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
Microsoft.Diagnostics.DataContractReader.Contracts (1)
TargetStream.cs (1)
56public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.DotNet.Cli.Utils (1)
BlockingMemoryStream.cs (1)
78public override void SetLength(long value) { throw new NotImplementedException(); }
Microsoft.Extensions.AI.Abstractions (2)
Files\HostedFileDownloadStream.cs (1)
58public override void SetLength(long value) => throw new NotSupportedException();
Functions\AIFunctionFactory.cs (1)
1441public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
NotSeekableStream.cs (1)
44public override void SetLength(long value) => _innerStream.SetLength(value);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\NotSeekableStream.cs (1)
47public override void SetLength(long value) => _innerStream.SetLength(value);
Microsoft.Maui.Controls (1)
StreamWrapper.cs (1)
73 public override void SetLength(long value)
Microsoft.ML.Core (3)
Utilities\HybridMemoryStream.cs (1)
185public override void SetLength(long value)
Utilities\SubsetStream.cs (1)
72public override void SetLength(long value)
Utilities\TextReaderStream.cs (1)
184public override void SetLength(long value)
Microsoft.ML.Data (1)
Utilities\ModelFileUtils.cs (1)
474public override void SetLength(long value)
Microsoft.ML.FastTree (1)
Utils\StreamExtensions.cs (1)
52public override void SetLength(long value)
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
1399public override void SetLength(long value) => throw new InvalidOperationException($"The stream is not seekable");
Microsoft.ML.Tokenizers.Tests (1)
SentencePieceTests.cs (1)
948public override void SetLength(long value) => throw new NotSupportedException();
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
393public override void SetLength(long value) => throw new NotImplementedException();
Microsoft.TemplateEngine.Core (2)
Util\CombinedStream.cs (1)
84public override void SetLength(long value)
Util\StreamProxy.cs (1)
62public override void SetLength(long value)
Microsoft.TemplateEngine.Utils (1)
InMemoryFileSystem.cs (1)
908public override void SetLength(long value) => _basis.SetLength(value);
NuGet.Packaging (2)
PackageArchiveReader.cs (1)
258public override void SetLength(long value)
Signing\Archive\ReadOnlyBufferedStream.cs (1)
279public override void SetLength(long value)
NuGet.Protocol (2)
Events\ProtocolDiagnosticsStream.cs (1)
93public override void SetLength(long value)
Utility\DownloadTimeoutStream.cs (1)
105public override void SetLength(long value)
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
90public override void SetLength(long value)
PresentationCore (4)
MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
91public override void SetLength(long newLength)
MS\Internal\IO\Packaging\NetStream.cs (1)
299public override void SetLength(long newLength)
MS\Internal\IO\Packaging\ResponseStream.cs (1)
125public override void SetLength(long newLength)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (1)
109public override void SetLength(long newLength)
PresentationFramework (7)
MS\Internal\AppModel\BamlStream.cs (1)
224public override void SetLength(
MS\Internal\IO\Packaging\ByteStream.cs (1)
231public override void SetLength(long newLength)
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (1)
151public override void SetLength(long newLength)
MS\Internal\Navigation\BindStream.cs (1)
371public override void SetLength(
System\Windows\Markup\Baml2006\SharedStream.cs (1)
249public override void SetLength(long value)
System\Windows\Markup\XamlStream.cs (2)
684public override void SetLength(long value) 848public override void SetLength(long value)
PresentationUI (2)
MS\Internal\Documents\Application\StreamProxy.cs (1)
169public override void SetLength(long value)
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
195public override void SetLength(long value)
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
268public override void SetLength(long value)
ScenarioTests.Common.Tests (3)
ScenarioTestTypes.cs (2)
1050public override void SetLength(long value) 1158public override void SetLength(long value)
TestMockStream.cs (1)
79public override void SetLength(long value)
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
107public override void SetLength(long value) => _stream.SetLength(value);
System.Console (1)
System\IO\ConsoleStream.cs (1)
67public sealed override void SetLength(long value) => throw Error.GetSeekNotSupported();
System.Data.Common (2)
System\Data\SQLTypes\SQLBytes.cs (1)
789public override void SetLength(long value)
System\Data\SQLTypes\SqlXml.cs (1)
474public override void SetLength(long value)
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
270public override void SetLength(long value) => throw new NotSupportedException(SR.IO_NotSupported_UnwritableStream);
System\Formats\Tar\GnuSparseStream.cs (1)
562public override void SetLength(long value) => throw new NotSupportedException(SR.IO_NotSupported_UnwritableStream);
System.IO.Compression (14)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
270public override void SetLength(long value) => throw new NotSupportedException(SR.IO_NotSupported_UnwritableStream);
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
90public override void SetLength(long value)
System\IO\Compression\DeflateZLib\DeflateStream.cs (2)
267public override void SetLength(long value) 1118public override void SetLength(long value) { throw new NotSupportedException(); }
System\IO\Compression\GZipStream.cs (1)
80public override void SetLength(long value)
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
108public override void SetLength(long value)
System\IO\Compression\WinZipAesStream.cs (1)
672public override void SetLength(long value) => throw new NotSupportedException();
System\IO\Compression\ZipArchiveEntry.cs (1)
2305public override void SetLength(long value)
System\IO\Compression\ZipCryptoStream.cs (1)
303public override void SetLength(long value) => throw new NotSupportedException();
System\IO\Compression\ZipCustomStreams.cs (3)
145public override void SetLength(long value) 359public override void SetLength(long value) 715public override void SetLength(long value)
System\IO\Compression\ZLibStream.cs (1)
104public override void SetLength(long value) => throw new NotSupportedException();
System\IO\Compression\Zstandard\ZstandardStream.cs (1)
157public override void SetLength(long value) => throw new NotSupportedException();
System.IO.Compression.Brotli (1)
System\IO\Compression\BrotliStream.cs (1)
204public override void SetLength(long value) => throw new NotSupportedException();
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
361public override void SetLength(long value) => throw new NotSupportedException();
System.IO.Packaging (3)
System\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
107public override void SetLength(long newLength)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
229public override void SetLength(long newLength)
System\IO\Packaging\ZipWrappingStream.cs (1)
86public override void SetLength(
System.IO.Pipelines (2)
System\IO\Pipelines\PipeReaderStream.cs (1)
73public override void SetLength(long value) => throw new NotSupportedException();
System\IO\Pipelines\PipeWriterStream.cs (1)
61public override void SetLength(long value) => throw new NotSupportedException();
System.IO.Pipes (1)
System\IO\Pipes\PipeStream.cs (1)
311public override void SetLength(long value)
System.IO.Ports (1)
System\IO\Ports\SerialStream.cs (1)
71public override void SetLength(long value)
System.Memory (1)
System\Buffers\ReadOnlySequenceStream.cs (1)
216public override void SetLength(long value) => throw new NotSupportedException(SR.NotSupported_UnwritableStream);
System.Net.Http (4)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
149public override void SetLength(long value)
System\Net\Http\HttpBaseStream.cs (1)
29public sealed override void SetLength(long value) => throw new NotSupportedException();
System\Net\Http\HttpContent.cs (1)
1158public override void SetLength(long value) { throw new NotSupportedException(); }
System\Net\Http\MultipartContent.cs (1)
621public override void SetLength(long value) { throw new NotSupportedException(); }
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
88public override void SetLength(long value) => _innerStream.SetLength(value);
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpRequestStream.cs (1)
152public override void SetLength(long value)
System\Net\Http\WinHttpResponseStream.cs (1)
301public override void SetLength(long value)
System.Net.HttpListener (2)
System\Net\HttpRequestStream.cs (1)
52public override void SetLength(long value) => throw new NotSupportedException(SR.net_noseek);
System\Net\HttpResponseStream.cs (1)
32public override void SetLength(long value) => throw new NotSupportedException(SR.net_noseek);
System.Net.Mail (1)
System\Net\DelegatedStream.cs (1)
164public sealed override void SetLength(long value)
System.Net.Quic (1)
System\Net\Quic\QuicStream.Stream.cs (1)
38public override void SetLength(long value) => throw new NotSupportedException();
System.Net.Requests (5)
System\Net\FtpDataStream.cs (1)
370public override void SetLength(long value)
System\Net\HttpWebResponse.cs (1)
422public override void SetLength(long value) => throw new NotSupportedException();
System\Net\NetworkStreamWrapper.cs (1)
228public override void SetLength(long value)
System\Net\RequestBufferingStream.cs (1)
66public override void SetLength(long value)
System\Net\RequestStream.cs (1)
90public override void SetLength(long value)
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (1)
284public override void SetLength(long value) =>
System\Net\Security\SslStream.cs (1)
687public override void SetLength(long value) => InnerStream.SetLength(value);
System.Net.Sockets (1)
System\Net\Sockets\NetworkStream.cs (1)
679public override void SetLength(long value)
System.Net.WebClient (2)
src\runtime\src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (1)
117public override void SetLength(long value)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
149public override void SetLength(long value)
System.Net.WebSockets (1)
System\Net\WebSockets\WebSocketStream.cs (1)
186public override void SetLength(long value) => throw new NotSupportedException();
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
1233public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
406public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (1)
545public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\ReadOnlyMemoryStream.cs (1)
220public override void SetLength(long value) => throw new NotSupportedException(SR.NotSupported_UnwritableStream);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (1)
749public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (1)
62public override void SetLength(long value) => _strategy.SetLength(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (1)
179public sealed override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (2)
1082public override void SetLength(long length) { } 1253public override void SetLength(long length)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringStream.cs (1)
292public override void SetLength(long value) => throw new NotSupportedException(SR.NotSupported_UnwritableStream);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
570public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\WritableMemoryStream.cs (1)
315public override void SetLength(long value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
449public override void SetLength(long value)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
237public override void SetLength(long value)
System\Xml\EncodingStreamWrapper.cs (1)
724public override void SetLength(long value)
System.Reflection.Metadata (1)
System\Reflection\PortableExecutable\DebugDirectory\DebugDirectoryBuilder.EmbeddedPortablePdb.cs (1)
72public override void SetLength(long value) => throw new NotSupportedException();
System.Security.Cryptography (1)
System\Security\Cryptography\CryptoStream.cs (1)
212public override void SetLength(long value)
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
1083public override void SetLength(long value)
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\Connection.cs (1)
273public override void SetLength(long value)
System.ServiceModel.Primitives (9)
Internals\System\Runtime\BufferedOutputStream.cs (1)
199public override void SetLength(long value)
Internals\System\Xml\XmlMtomReader.cs (2)
2204public override void SetLength(long value) 3008public override void SetLength(long value)
System\IdentityModel\HashStream.cs (1)
109public override void SetLength(long length)
System\ServiceModel\Channels\BufferedReadStream.cs (1)
456public override void SetLength(long value)
System\ServiceModel\Channels\BufferedWriteStream.cs (1)
560public override void SetLength(long value)
System\ServiceModel\Channels\DelegatingStream.cs (1)
79public override void SetLength(long value) => BaseStream.SetLength(value);
System\ServiceModel\Channels\ProducerConsumerStream.cs (1)
155public override void SetLength(long value)
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
450public override void SetLength(long value) { throw TraceUtility.ThrowHelperError(new NotSupportedException(), _message); }
System.Speech (1)
Internal\SeekableReadStream.cs (1)
216public override void SetLength(long value)
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\DataStreamFromComStream.cs (1)
92public override void SetLength(long value)
94 references to SetLength
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
163_stream.SetLength(value);
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
851outputFileStream.SetLength(paddedSize);
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
851outputFileStream.SetLength(paddedSize);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
45 public override void SetLength(long value) => _baseStream.SetLength(value);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\AutoCloseOnReadCompleteStream.cs (1)
45 public override void SetLength(long value) => _baseStream.SetLength(value);
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
31response.Body.SetLength(0);
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
248_innerStream.SetLength(value);
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\NonDisposableStream.cs (1)
153_innerStream.SetLength(value);
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
63_innerStream.SetLength(value);
Microsoft.AspNetCore.RequestDecompression (1)
src\aspnetcore\src\Shared\SizeLimitedStream.cs (1)
74_innerStream.SetLength(value);
Microsoft.AspNetCore.ResponseCaching (1)
Streams\ResponseCachingStream.cs (1)
63_innerStream.SetLength(value);
Microsoft.AspNetCore.Server.HttpSys (1)
ResponseStream.cs (1)
33public override void SetLength(long value) => _innerStream.SetLength(value);
Microsoft.AspNetCore.Server.IIS (2)
Core\HttpUpgradeStream.cs (1)
170_requestStream.SetLength(value);
Core\WrappingStream.cs (1)
73=> _inner.SetLength(value);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpUpgradeStream.cs (1)
170_requestStream.SetLength(value);
Internal\Infrastructure\WrappingStream.cs (1)
72=> _inner.SetLength(value);
Middleware\Internal\LoggingStream.cs (1)
123_inner.SetLength(value);
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
92_innerStream.SetLength(value);
Microsoft.AspNetCore.WebUtilities (3)
BufferedReadStream.cs (1)
153_inner.SetLength(value);
FileBufferingReadStream.cs (2)
84_buffer.SetLength(0); 136_buffer.SetLength(0);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\TrustInfo.cs (1)
794output.SetLength(0);
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.cs (1)
1383xmlStreamOpt.SetLength(0);
DiaSymReader\Utilities\ComMemoryStream.cs (1)
46stream.SetLength(stream.Position + _length);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
Microsoft.DiaSymReader (2)
Utilities\ComMemoryStream.cs (1)
52stream.SetLength(stream.Position + _length);
Utilities\ComStreamWrapper.cs (1)
172=> _stream.SetLength(libNewSize);
Microsoft.DotNet.Build.Tasks.VisualStudio (2)
Vsix\FinalizeInsertionVsixFile.cs (2)
61stream.SetLength(newContent.Length); 126stream.SetLength(0);
Microsoft.DotNet.NuGetRepack.Tasks (3)
src\NuGetVersionUpdater.cs (1)
365package.SpecificationStream.SetLength(0);
src\ReplacePackageParts.cs (2)
172nuspecStream.SetLength(0); 192partStream.SetLength(0);
Microsoft.Maui.Controls (1)
StreamWrapper.cs (1)
75 _wrapped.SetLength(value);
Microsoft.ML.Core (2)
Utilities\HybridMemoryStream.cs (1)
192MyStream.SetLength(value);
Utilities\SubsetStream.cs (1)
74_stream.SetLength(value + _offset);
Microsoft.ML.Data (1)
Utilities\ModelFileUtils.cs (1)
477_entry.Stream.SetLength(value);
Microsoft.ML.FastTree (1)
Utils\StreamExtensions.cs (1)
54_inner.SetLength(value);
Microsoft.Private.Windows.Core (2)
Windows\Win32\System\Com\ComManagedStream.cs (2)
40_dataStream.SetLength(_virtualPosition); 190_dataStream.SetLength(checked((long)libNewSize));
Microsoft.TemplateEngine.Core (1)
Util\StreamProxy.cs (1)
66_currentTargetStream.SetLength(value);
Microsoft.TemplateEngine.Utils (1)
InMemoryFileSystem.cs (1)
908public override void SetLength(long value) => _basis.SetLength(value);
Mono.Cecil (1)
Mono.Cecil\AssemblyWriter.cs (1)
125 stream.value.SetLength (0);
NuGet.Packaging (2)
PackageArchiveReader.cs (1)
260_inner.SetLength(value);
PackagesConfigWriter.cs (1)
510_stream.SetLength(0);
NuGet.Protocol (2)
Events\ProtocolDiagnosticsStream.cs (1)
95_baseStream.SetLength(value);
Utility\FindPackagesByIdNupkgDownloader.cs (1)
144destination.SetLength(0);
PresentationCore (4)
MS\Internal\IO\Packaging\ResponseStream.cs (1)
128_innerStream.SetLength(newLength);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\IO\SynchronizingStream.cs (1)
114_baseStream.SetLength(newLength);
System\Windows\Media\StreamAsIStream.cs (2)
143dataStream.SetLength(virtualPosition); 378dataStream.SetLength(value);
PresentationFramework (4)
MS\Internal\AppModel\BamlStream.cs (1)
228_stream.SetLength(value);
MS\Internal\IO\Packaging\ManagedIStream.cs (1)
94_ioStream.SetLength(libNewSize);
MS\Internal\Navigation\BindStream.cs (1)
375_stream.SetLength(value);
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
370_stream.SetLength(0);
PresentationUI (4)
MS\Internal\Documents\Application\StreamHelper.cs (1)
47target.SetLength(size);
MS\Internal\Documents\Application\StreamProxy.cs (1)
171_proxy.SetLength(value);
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (2)
193/// <see cref="System.IO.Stream.SetLength"/> 198_active.SetLength(value);
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
152_writer.BaseStream.SetLength(0);
ScenarioTests.Common.Tests (1)
TestMockStream.cs (1)
81InnerStream.SetLength(value);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs (1)
107public override void SetLength(long value) => _stream.SetLength(value);
System.Configuration.ConfigurationManager (1)
System\Configuration\XmlUtilWriter.cs (1)
354_baseStream.SetLength(checkpoint._streamLength);
System.Data.Common (2)
System\Data\SQLTypes\SQLBytes.cs (1)
258_stream!.SetLength(value);
System\Data\SQLTypes\SqlXml.cs (1)
479_stream.SetLength(value);
System.IO.Compression (3)
System\IO\Compression\ZipArchive.cs (1)
899_archiveStream.SetLength(_archiveStream.Position);
System\IO\Compression\ZipArchiveEntry.Async.cs (1)
91/// If the archive that the entry belongs to was opened in Read mode, the returned stream will be readable, and it may or may not be seekable. If Create mode, the returned stream will be writable and not seekable. If Update mode, the returned stream will be readable, writable, seekable, and support <see cref="Stream.SetLength(long)" />.
System\IO\Compression\ZipCustomStreams.cs (1)
152_baseStream.SetLength(value);
System.IO.Packaging (4)
System\IO\Packaging\IgnoreFlushAndCloseStream.cs (1)
110_stream.SetLength(newLength);
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
270lastPieceStream.SetLength(lastPieceStreamSize);
System\IO\Packaging\ZipPackage.cs (1)
384s.SetLength(0); // Discard existing data
System\IO\Packaging\ZipWrappingStream.cs (1)
90_baseStream.SetLength(value);
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
151_innerStream.SetLength(value);
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
88public override void SetLength(long value) => _innerStream.SetLength(value);
System.Net.Mail (1)
System\Net\DelegatedStream.cs (1)
169_stream.SetLength(value);
System.Net.Requests (2)
System\Net\FtpDataStream.cs (1)
372_stream.SetLength(value);
System\Net\NetworkStreamWrapper.cs (1)
230Stream.SetLength(value);
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (1)
285InnerStream.SetLength(value);
System\Net\Security\SslStream.cs (1)
687public override void SetLength(long value) => InnerStream.SetLength(value);
System.Net.WebClient (3)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
151_innerStream.SetLength(value);
System\Net\WebClient.cs (2)
841writeStream.SetLength(copyBuffer.Length); 888writeStream.SetLength(copyBuffer.Length);
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
1244_stream.SetLength(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
425_strategy.SetLength(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (1)
753_strategy.SetLength(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (1)
62public override void SetLength(long value) => _strategy.SetLength(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
1257_stream.SetLength(length);
System.Private.Windows.Core (2)
Windows\Win32\System\Com\ComManagedStream.cs (2)
40_dataStream.SetLength(_virtualPosition); 190_dataStream.SetLength(checked((long)libNewSize));
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\DelegatingStream.cs (1)
79public override void SetLength(long value) => BaseStream.SetLength(value);