Microsoft\VisualBasic\FileIO\FileSystem.vb (28)
20Imports ExUtils = Microsoft.VisualBasic.CompilerServices.ExceptionUtils
65Throw ExUtils.GetArgumentNullException("baseDirectory", SR.General_ArgumentEmptyOrNothing_Name, "baseDirectory")
244Throw ExUtils.GetArgumentExceptionWithArgName("path", SR.IO_GetParentPathIsRoot_Path, path)
479Throw ExUtils.GetIOException(SR.IO_FileExists_Path, directory)
669Throw ExUtils.GetIOException(SR.IO_DirectoryIsRoot_Path, directory)
674Throw ExUtils.GetDirectoryNotFoundException(SR.IO_DirectoryNotFound_Path, directory)
679Throw ExUtils.GetArgumentNullException(
711Throw ExUtils.GetFileNotFoundException(file, SR.IO_FileNotFound_Path, file)
716Throw ExUtils.GetArgumentNullException(
850Throw ExUtils.GetArgumentNullException(paramName)
854Throw ExUtils.GetArgumentExceptionWithArgName(paramName, SR.IO_FilePathException)
911Throw ExUtils.GetDirectoryNotFoundException(SR.IO_DirectoryNotFound_Path, sourceDirectoryName)
916Throw ExUtils.GetIOException(SR.IO_DirectoryIsRoot_Path, sourceDirectoryName)
921Throw ExUtils.GetIOException(SR.IO_FileExists_Path, destinationDirectoryName)
926Throw ExUtils.GetIOException(SR.IO_SourceEqualsTargetDirectory)
939Throw ExUtils.GetInvalidOperationException(SR.IO_CyclicOperation)
1034Exceptions.Add(SourceDirectoryNode.TargetPath, ExUtils.GetDirectoryNotFoundException(SR.IO_DirectoryNotFound_Path, SourceDirectoryNode.TargetPath))
1111Throw ExUtils.GetFileNotFoundException(sourceFileName, SR.IO_FileNotFound_Path, sourceFileName)
1116Throw ExUtils.GetIOException(SR.IO_DirectoryExists_Path, destinationFileName)
1192Throw ExUtils.GetDirectoryNotFoundException(SR.IO_DirectoryNotFound_Path, directory)
1196Throw ExUtils.GetIOException(SR.IO_DirectoryIsRoot_Path, directory)
1231Throw ExUtils.GetFileNotFoundException(file, SR.IO_FileNotFound_Path, file)
1250Throw ExUtils.GetIOException(SR.IO_FileExists_Path, Path)
1254Throw ExUtils.GetIOException(SR.IO_DirectoryExists_Path, Path)
1394Throw ExUtils.GetArgumentNullException("wildcards", SR.IO_GetFiles_NullPattern)
1460Throw ExUtils.GetArgumentExceptionWithArgName(ArgumentName, SR.IO_ArgumentIsPath_Name_Path, ArgumentName, NewName)
1469Throw ExUtils.GetArgumentExceptionWithArgName(ArgumentName, SR.IO_ArgumentIsPath_Name_Path, ArgumentName, NewName)
1851Throw ExceptionUtils.GetArgumentExceptionWithArgName("path", SR.IO_DevicePath)