22 references to EndOfStreamException
csc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");
Microsoft.AspNetCore.Components.Server (4)
Circuits\RemoteJSDataStream.cs (4)
99throw new EndOfStreamException($"Out of sequence chunk received, expected {_expectedChunkId}, but received {chunkId}."); 106throw new EndOfStreamException("The incoming data chunk cannot be empty."); 111throw new EndOfStreamException("The incoming data chunk exceeded the permitted length."); 118throw new EndOfStreamException($"The incoming data stream declared a length {_totalLength}, but {_bytesRead} bytes were sent.");
Microsoft.AspNetCore.Components.WebAssembly (1)
src\Components\Shared\src\PullFromJSDataStream.cs (1)
103throw new EndOfStreamException("Failed to read the requested number of bytes from the stream.");
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\PullFromJSDataStream.cs (1)
103throw new EndOfStreamException("Failed to read the requested number of bytes from the stream.");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");
Microsoft.CodeAnalysis (1)
PEWriter\ManagedResource.cs (1)
61throw new EndOfStreamException(
Microsoft.ML.Data (2)
DataLoadSave\Text\TextLoaderCursor.cs (1)
533throw new EndOfStreamException($"A quoted field opened on line {lineNum} was never closed, and we've read to the last line in the file without finding the closing quote");
Utilities\StreamUtils.cs (1)
225throw new EndOfStreamException("Unable to read beyond the end of the stream.");
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
257Return New IO.EndOfStreamException(Description)
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Ink\BitStream.cs (1)
230throw new System.IO.EndOfStreamException(SR.EndOfStreamReached);
Replay (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");
System.IO.Pipes (1)
System\IO\Error.cs (1)
11return new EndOfStreamException(SR.IO_EOF_ReadBeyondEOF);
System.IO.Ports (1)
System\IO\Ports\InternalResources.cs (1)
14throw new EndOfStreamException(SR.IO_EOF_ReadBeyondEOF);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
434throw new EndOfStreamException(SR.Format(SR.BadImageFormat_ResourceNameCorrupted_NameIndex, index));
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
393new EndOfStreamException(SR.IO_EOF_ReadBeyondEOF);
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
434throw new EndOfStreamException(SR.Format(SR.BadImageFormat_ResourceNameCorrupted_NameIndex, index));
vbc (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");
VBCSCompiler (1)
src\Compilers\Shared\BuildProtocol.cs (1)
623throw new EndOfStreamException("Reached end of stream before end of read.");