19 references to EndOfStreamException
Microsoft.AspNetCore.Components.Server (2)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackReader.cs (2)
927private static EndOfStreamException ThrowNotEnoughBytesException() => throw new EndOfStreamException(); 933private static EndOfStreamException ThrowNotEnoughBytesException(Exception innerException) => throw new EndOfStreamException(new EndOfStreamException().Message, innerException);
Microsoft.AspNetCore.OutputCaching (1)
FormatterBinaryReader.cs (1)
193private static void ThrowEndOfStream() => throw new EndOfStreamException();
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
417throw new EndOfStreamException();
Microsoft.AspNetCore.SpaServices.Extensions (1)
Util\EventedStreamReader.cs (1)
65ResolveIfStillPending(() => tcs.SetException(new EndOfStreamException()));
Microsoft.Build (2)
FileUtilities.cs (1)
1598throw new EndOfStreamException();
InterningBinaryReader.cs (1)
147throw new EndOfStreamException();
Microsoft.Build.Tasks.Core (1)
InterningBinaryReader.cs (1)
147throw new EndOfStreamException();
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
1598throw new EndOfStreamException();
Microsoft.CodeAnalysis (2)
EmbeddedText.cs (2)
237throw new EndOfStreamException(); 255throw new EndOfStreamException();
MSBuild (1)
InterningBinaryReader.cs (1)
147throw new EndOfStreamException();
MSBuildTaskHost (2)
FileUtilities.cs (1)
1598throw new EndOfStreamException();
InterningBinaryReader.cs (1)
147throw new EndOfStreamException();
System.Formats.Nrbf (1)
System\Formats\Nrbf\Utils\ThrowHelper.cs (1)
38=> throw new EndOfStreamException();
System.Formats.Tar (1)
System\Formats\Tar\SubReadStream.cs (1)
95throw new EndOfStreamException();
System.IO.Packaging (1)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
568throw new EndOfStreamException();
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
885result == 0 ? new EndOfStreamException() : // end of file that violates protocol
System.Security.Cryptography (1)
System\Security\Cryptography\CapiHelper.Shared.cs (1)
204throw new EndOfStreamException(); // Simulate same exception as ReadKeyBlobHeader would throw