26 references to DirectoryNotFoundException
System.Console (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.Linux.cs (1)
38throw new DirectoryNotFoundException(SR.Format(SR.DirectoryNotFound, value), value);
System.Formats.Tar (9)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System\Formats\Tar\TarFile.cs (8)
70throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName), sourceDirectoryName); 138return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName), sourceDirectoryName)); 193throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName), sourceDirectoryName); 256return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceDirectoryName), sourceDirectoryName)); 312throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName), destinationDirectoryName); 380return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName), destinationDirectoryName)); 443throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName), destinationDirectoryName); 512return Task.FromException(new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, destinationDirectoryName), destinationDirectoryName));
System.IO.FileSystem.AccessControl (2)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
38return new DirectoryNotFoundException(
System\Security\AccessControl\FileSystemSecurity.cs (1)
49exception = new DirectoryNotFoundException(null, name);
System.IO.FileSystem.DriveInfo (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.IO.FileSystem.Watcher (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (1)
363throw new DirectoryNotFoundException(SR.Format(SR.PathNotFound_Path, sourceDirectoryName), sourceDirectoryName);
System.IO.MemoryMappedFiles (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.IO.Pipes (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.IO.Ports (1)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
280throw new DirectoryNotFoundException(fnfe.Message, dirname);
System.Private.CoreLib (4)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (1)
134new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, path), path) :
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (1)
186throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, directoryPath), directoryPath);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
421throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath), sourceFullPath); 457throw new DirectoryNotFoundException(SR.Format(SR.IO_PathNotFound_Path, sourceFullPath), sourceFullPath);
System.Security.AccessControl (1)
System\Security\AccessControl\NativeObjectSecurity.cs (1)
130true => new DirectoryNotFoundException(null, name)
System.Threading.AccessControl (1)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
38return new DirectoryNotFoundException(