13 types derived from IOException
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions (1)
System.IO.Compression (1)
System.IO.FileSystem.DriveInfo (1)
System.Net.Http (2)
System.Net.Quic (1)
System.Private.CoreLib (5)
System.ServiceModel.NetNamedPipe (1)
406 instantiations of IOException
ClientSample (2)
dotnet-svcutil-lib (2)
http2cat (1)
IIS.Common.TestLib (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (6)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.HttpLogging.Tests (3)
Microsoft.AspNetCore.Mvc.Core.Test (10)
Microsoft.AspNetCore.Server.HttpSys (8)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.TestHost (6)
Microsoft.AspNetCore.WebSockets.Tests (1)
Microsoft.AspNetCore.WebUtilities (6)
Microsoft.AspNetCore.WebUtilities.Tests (2)
Microsoft.Build (4)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.Build.Utilities.Core (1)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis (17)
FileSystem\FileUtilities.cs (10)
258throw new IOException(e.Message, e);
262throw new IOException(e.Message, e);
266throw new IOException(e.Message, e);
306throw new IOException(e.Message, e);
330throw new IOException(e.Message, e);
347throw new IOException(e.Message, e);
389throw new IOException(e.Message, e);
407throw new IOException(e.Message, e);
426throw new IOException(e.Message, e);
451throw new IOException(e.Message, e);
Microsoft.CodeAnalysis.CodeStyle (10)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (10)
258throw new IOException(e.Message, e);
262throw new IOException(e.Message, e);
266throw new IOException(e.Message, e);
306throw new IOException(e.Message, e);
330throw new IOException(e.Message, e);
347throw new IOException(e.Message, e);
389throw new IOException(e.Message, e);
407throw new IOException(e.Message, e);
426throw new IOException(e.Message, e);
451throw new IOException(e.Message, e);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Features.UnitTests (2)
Microsoft.CodeAnalysis.InteractiveHost (10)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (10)
258throw new IOException(e.Message, e);
262throw new IOException(e.Message, e);
266throw new IOException(e.Message, e);
306throw new IOException(e.Message, e);
330throw new IOException(e.Message, e);
347throw new IOException(e.Message, e);
389throw new IOException(e.Message, e);
407throw new IOException(e.Message, e);
426throw new IOException(e.Message, e);
451throw new IOException(e.Message, e);
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (11)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (10)
258throw new IOException(e.Message, e);
262throw new IOException(e.Message, e);
266throw new IOException(e.Message, e);
306throw new IOException(e.Message, e);
330throw new IOException(e.Message, e);
347throw new IOException(e.Message, e);
389throw new IOException(e.Message, e);
407throw new IOException(e.Message, e);
426throw new IOException(e.Message, e);
451throw new IOException(e.Message, e);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (10)
258throw new IOException(e.Message, e);
262throw new IOException(e.Message, e);
266throw new IOException(e.Message, e);
306throw new IOException(e.Message, e);
330throw new IOException(e.Message, e);
347throw new IOException(e.Message, e);
389throw new IOException(e.Message, e);
407throw new IOException(e.Message, e);
426throw new IOException(e.Message, e);
451throw new IOException(e.Message, e);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.ML (1)
Microsoft.ML.Core (10)
Utilities\Contracts.cs (10)
394=> Process(new IOException());
396=> Process(new IOException(), ctx);
398=> Process(new IOException(msg));
400=> Process(new IOException(msg), ctx);
402=> Process(new IOException(GetMsg(msg, args)));
404=> Process(new IOException(GetMsg(msg, args)), ctx);
406=> Process(new IOException(msg, inner));
408=> Process(new IOException(msg, inner), ctx);
410=> Process(new IOException(GetMsg(msg, args), inner));
412=> Process(new IOException(GetMsg(msg, args), inner), ctx);
Microsoft.ML.CpuMath (10)
src\Microsoft.ML.Core\Utilities\Contracts.cs (10)
394=> Process(new IOException());
396=> Process(new IOException(), ctx);
398=> Process(new IOException(msg));
400=> Process(new IOException(msg), ctx);
402=> Process(new IOException(GetMsg(msg, args)));
404=> Process(new IOException(GetMsg(msg, args)), ctx);
406=> Process(new IOException(msg, inner));
408=> Process(new IOException(msg, inner), ctx);
410=> Process(new IOException(GetMsg(msg, args), inner));
412=> Process(new IOException(GetMsg(msg, args), inner), ctx);
Microsoft.ML.ImageAnalytics (1)
Microsoft.ML.Tokenizers (2)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
MSBuild (5)
MSBuildTaskHost (3)
PrepareTests (2)
PresentationCore (10)
PresentationFramework (8)
PresentationUI (4)
ReachFramework (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.Configuration.ConfigurationManager (1)
System.Console (6)
System.Diagnostics.Process (1)
System.Formats.Tar (14)
System.IO.Compression (8)
System.IO.Compression.Brotli (3)
System.IO.Compression.ZipFile (8)
System.IO.FileSystem.DriveInfo (4)
System.IO.FileSystem.Watcher (7)
System.IO.MemoryMappedFiles (6)
System.IO.Packaging (6)
System.IO.Pipes (13)
System.IO.Ports (4)
System.Memory.Data (1)
System.Net.Http (6)
System.Net.Mail (2)
System.Net.Quic (2)
System.Net.Security (18)
System.Net.Sockets (6)
System.Private.CoreLib (46)
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (10)
59return new IOException(SR.Format(SR.Arg_FileIsDirectory_Name, path));
146throw new IOException(SR.Format(SR.IO_CannotReplaceSameFile, sourceFullPath, destFullPath));
409throw new IOException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath));
434throw new IOException(SR.IO_SourceDestMustBeDifferent);
441throw new IOException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath));
445throw new IOException(SR.Format(SR.IO_AlreadyExists_Name, destFullPath));
455throw new IOException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, sourceFullPath), errorInfo.RawErrno);
459throw new IOException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath));
565throw new IOException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, fullPath));
704throw new IOException(SR.Format(SR.IO_TooManySymbolicLinkLevels, linkPath));
System.Reflection.Metadata (1)
System.Security.Cryptography (3)
System.Windows.Forms (2)
System.Windows.Forms.Design.Tests (1)
782 references to IOException
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (2)
Aspire.Hosting.Azure.Tests (1)
Aspire.Templates.Tests (2)
BuildValidator (1)
Client.ClientBase.IntegrationTests (1)
ClientSample (2)
csc (2)
dotnet-svcutil-lib (11)
HttpStress (2)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.NewShim.FunctionalTests (3)
IISExpress.FunctionalTests (5)
illink (1)
InMemory.FunctionalTests (16)
Interop.FunctionalTests (8)
Metrics (2)
Metrics.Legacy (2)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.Web.Tests (2)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Diagnostics (2)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (4)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.HttpLogging.Tests (3)
Microsoft.AspNetCore.Mvc.Core (3)
Microsoft.AspNetCore.Mvc.Core.Test (8)
Microsoft.AspNetCore.Server.HttpSys (6)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (15)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Specification.Tests (6)
Microsoft.AspNetCore.SignalR.Tests (2)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.TestHost.Tests (5)
Microsoft.AspNetCore.WebUtilities.Tests (18)
Microsoft.Build (19)
Microsoft.Build.Engine.OM.UnitTests (3)
Microsoft.Build.Engine.UnitTests (2)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.Core (18)
Microsoft.Build.Utilities.Core (5)
Microsoft.Cci.Extensions (1)
Microsoft.CodeAnalysis (63)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle (13)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.InteractiveHost (11)
Microsoft.CodeAnalysis.LanguageServer (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.UnitTests (7)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (29)
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Helix.Client (1)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.FileProviders.Physical (5)
Microsoft.Extensions.ML (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.TensorFlow (1)
Microsoft.VisualBasic.Core (18)
Microsoft.VisualBasic.Forms (1)
Microsoft.VisualBasic.Tests (12)
Microsoft\VisualBasic\MyServices\FileSystemProxyTests.cs (12)
73Assert.Throws<IOException>(() => _fileSystem.CopyDirectory(FullPathToSourceDirectory, FullPathToTargetDirectory));
98Assert.Throws<IOException>(() => _fileSystem.CopyDirectory(FullPathToSourceDirectory, FullPathToTargetDirectory, overwrite: false));
136Assert.Throws<IOException>(() => _fileSystem.CopyFile(testFileSource, testFileDest));
158Assert.Throws<IOException>(() => _fileSystem.CopyFile(testFileSource, testFileDest, overwrite: false));
226Assert.Throws<IOException>(() => _fileSystem.DeleteDirectory(FullPathToNewDirectory, DeleteDirectoryOption.ThrowIfDirectoryNonEmpty));
511Assert.Throws<IOException>(() => _fileSystem.MoveDirectory(FullPathToSourceDirectory, FullPathToTargetDirectory));
537Assert.Throws<IOException>(() => _fileSystem.MoveDirectory(FullPathToSourceDirectory, FullPathToTargetDirectory, overwrite: false));
586Assert.Throws<IOException>(() => _fileSystem.MoveFile(SourceFileNameWithPath, DestinationFileNameWithPath));
603Assert.Throws<IOException>(() => _fileSystem.MoveFile(SourceFileNameWithPath, DestinationFileNameWithPath, overwrite: false));
658Assert.Throws<IOException>(() => _fileSystem.RenameDirectory(NewFDirectoryPath, "OriginalDirectory"));
677Assert.Throws<IOException>(() => _fileSystem.RenameFile(NewFileWithPath, "NewFile"));
679Assert.Throws<IOException>(() => _fileSystem.RenameFile(NewFileWithPath, "NewFDirectory"));
Microsoft.VisualStudio.LanguageServices (8)
MSBuild (10)
MSBuildTaskHost (5)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (2)
PresentationCore (5)
PresentationFramework (8)
PresentationUI (10)
ReachFramework (1)
Replay (2)
Roslyn.Diagnostics.Analyzers (2)
Roslyn.Test.PdbUtilities (1)
RulesetToEditorconfigConverter (3)
Sockets.BindTests (6)
Sockets.FunctionalTests (4)
System.CodeDom (1)
System.Configuration.ConfigurationManager (2)
System.Diagnostics.Process (6)
System.Diagnostics.StackTrace (1)
System.Diagnostics.TextWriterTraceListener (1)
System.Drawing.Common.Tests (5)
System.Formats.Nrbf (2)
System.Formats.Tar (17)
System.IO (1)
System.IO.Compression (5)
System.IO.Compression.Brotli (3)
System.IO.Compression.ZipFile (52)
System\IO\Compression\ZipFile.Extract.Async.cs (8)
30/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
64/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
99/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
155/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
218/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
249/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
288/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
328/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
System\IO\Compression\ZipFile.Extract.cs (8)
28/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
60/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
93/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
147/// <exception cref="IOException">An I/O error has occurred. -or- An archive entry's name is zero-length, contains only whitespace, or contains one or
204/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
233/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
270/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
308/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
System.IO.FileSystem.Watcher (1)
System.IO.IsolatedStorage (1)
System.IO.Packaging (34)
System\IO\Packaging\Package.cs (20)
143/// <exception cref="IOException">If package to be created should have readwrite/read access and underlying stream is write only</exception>
144/// <exception cref="IOException">If package to be created should have readwrite/write access and underlying stream is read only</exception>
160/// <exception cref="IOException">If package to be created should have readwrite/read access and underlying stream is write only</exception>
161/// <exception cref="IOException">If package to be created should have readwrite/write access and underlying stream is read only</exception>
182/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
204/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
255/// <exception cref="IOException">If the package is write only, information cannot be retrieved from it</exception>
279/// <exception cref="IOException">If the package is write only, information cannot be retrieved from it</exception>
304/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
382/// <exception cref="IOException">If the package is writeonly, no information can be retrieved from it</exception>
532/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
572/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
594/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
618/// <exception cref="IOException">If the package is readonly, it cannot be modified</exception>
641/// <exception cref="IOException">If the package is write only, no information can be retrieved from it</exception>
657/// <exception cref="IOException">If the package is write only, no information can be retrieved from it</exception>
681/// <exception cref="IOException">If the package is write only, no information can be retrieved from it</exception>
703/// <exception cref="IOException">If the package is write only, no information can be retrieved from it</exception>
914/// <exception cref="IOException">If package to be created should have readwrite/read access and underlying stream is write only</exception>
915/// <exception cref="IOException">If package to be created should have readwrite/write access and underlying stream is read only</exception>
System.IO.Pipes (1)
System.IO.Ports (2)
System.Net.Http (3)
System.Net.HttpListener (4)
System.Net.Mail (1)
System.Net.NetworkInformation (1)
System.Net.Requests (6)
System.Net.Security (4)
System.Net.Sockets (1)
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.cs (1)
52e is IOException ||
System.Private.Windows.Core (1)
System.Reflection.Metadata (34)
System.Resources.Extensions (2)
System.Runtime (1)
System.Security.Cryptography (10)
System.ServiceModel.NetFramingBase (8)
System.ServiceModel.NetNamedPipe (4)
System.Threading (1)
System.Windows.Forms (5)
System.Windows.Forms.Design (3)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Tests (1)
Test.Utilities (2)
Text.Analyzers (2)
vbc (2)
VBCSCompiler (2)
WindowsBase.Tests (1)