22 instantiations of PathTooLongException
aspire (2)
Utils\ReparsePoint.cs (2)
425throw new PathTooLongException( 432throw new PathTooLongException(
PresentationCore (1)
MS\Internal\FontCache\FontCacheUtil.cs (1)
757throw new PathTooLongException(SR.Format(SR.PathTooLongExceptionWithFileName, fileName));
System.Console (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
52return new PathTooLongException(
System.IO.FileSystem.DriveInfo (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.IO.FileSystem.Watcher (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.IO.MemoryMappedFiles (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.IO.Pipes (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.IO.Ports (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
System.Private.CoreLib (3)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
150new PathTooLongException(SR.Format(SR.IO_PathTooLong_Path, path)) : 151new PathTooLongException(SR.IO_PathTooLong);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
835return new System.IO.PathTooLongException();
System.Threading.AccessControl (1)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
52return new PathTooLongException(
205 references to PathTooLongException
aspire (13)
Acquisition\InstallSidecarReader.cs (1)
205or PathTooLongException
Acquisition\IWindowsRegistryReader.cs (2)
52catch (Exception ex) when (ex is ArgumentException or PathTooLongException or NotSupportedException) 100catch (Exception ex) when (ex is ArgumentException or PathTooLongException or NotSupportedException)
Commands\PipelineCommandBase.cs (1)
1243catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
Layout\LayoutDiscovery.cs (1)
102catch (Exception ex) when (ex is ArgumentException or PathTooLongException or NotSupportedException)
Packaging\PackageSourceOverrideMappings.cs (1)
138catch (PathTooLongException)
Packaging\PackagingService.cs (1)
307catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException or SecurityException)
Projects\DotNetAppHostProject.cs (1)
912catch (Exception ex) when (ex is ArgumentException or PathTooLongException or NotSupportedException or IOException)
Projects\PrebuiltAppHostServer.cs (1)
494catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
src\Shared\IntegrationPackageProbeManifest.cs (1)
360catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Utils\CliPathHelper.cs (1)
386or PathTooLongException
Aspire.Hosting (3)
Pipelines\PipelineOutputService.cs (1)
59catch (Exception ex) when (ex is ArgumentException or PathTooLongException)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Azure (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Browsers (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Browsers.Tests (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Docker (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Java (1)
JavaBuildToolResolver.cs (1)
183catch (Exception ex) when (ex is ArgumentException or PathTooLongException or NotSupportedException)
Aspire.Hosting.Kubernetes (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.Hosting.Radius (1)
Secrets\SealedSecretManifest.cs (1)
71catch (Exception ex) when (ex is IOException or PathTooLongException or UnauthorizedAccessException or NotSupportedException or ArgumentException)
Aspire.Hosting.RemoteHost (1)
src\Shared\IntegrationPackageProbeManifest.cs (1)
360catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
Aspire.Hosting.Tasks (2)
CommandPathResolver.cs (1)
56catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException or System.Security.SecurityException)
ResolveAspireCliBundle.cs (1)
517or PathTooLongException
Aspire.Playground.Tests (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Aspire.TestUtilities (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
dotnet-svcutil-lib (1)
OutputPathHelper.cs (1)
90catch (PathTooLongException ptle)
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\OutputModule.cs (1)
79catch (PathTooLongException ptle)
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Infrastructure.Tests (2)
src\Shared\PathLookupHelper.cs (2)
197catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 214catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or PathTooLongException or System.Security.SecurityException)
Microsoft.Build (5)
BackEnd\Client\MSBuildClient.cs (2)
264catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex) && ex is not PathTooLongException) 540catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex) && ex is not PathTooLongException)
BackEnd\Node\ServerNamedMutex.cs (1)
47catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex) && ex is not PathTooLongException)
Evaluation\Evaluator.cs (1)
410catch (PathTooLongException ex)
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1256catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
Microsoft.Build.Framework (2)
FileUtilities.cs (2)
415catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException) 475catch (PathTooLongException)
Microsoft.Build.Tasks.Core (5)
AssemblyDependency\ReferenceTable.cs (1)
1799catch (PathTooLongException e)
Copy.cs (2)
986catch (PathTooLongException e) 1027case PathTooLongException:
GenerateResource.cs (2)
2914catch (PathTooLongException) 2934catch (PathTooLongException)
Microsoft.CodeAnalysis (1)
FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
Microsoft.DotNet.Arcade.Sdk (1)
src\DownloadFile.cs (1)
225e is IOException && !(e is DirectoryNotFoundException || e is PathTooLongException) ||
Microsoft.DotNet.Configurer (1)
UserLevelCacheWriter.cs (1)
53|| ex is PathTooLongException
Microsoft.Extensions.FileProviders.Embedded (2)
EmbeddedFileProvider.cs (1)
72catch (PathTooLongException)
ManifestEmbeddedFileProvider.cs (1)
137catch (PathTooLongException)
Microsoft.ML.Core (1)
Utilities\Stream.cs (1)
857catch (PathTooLongException exc)
Microsoft.NET.ProjectData (1)
Donor\ProjectDataDonorIndex.Serialization.cs (1)
90 catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
Microsoft.NET.ProjectData.Tasks (1)
src\roslyn\src\ProjectData\Microsoft.NET.ProjectData\Donor\ProjectDataDonorIndex.Serialization.cs (1)
90 catch (Exception ex) when (ex is ArgumentException or NotSupportedException or PathTooLongException)
Microsoft.VisualBasic.Forms (46)
Microsoft\VisualBasic\Helpers\FileSystemUtils.vb (2)
53TypeOf ex Is PathTooLongException OrElse 61TypeOf ex Is PathTooLongException OrElse
Microsoft\VisualBasic\MyServices\FileSystemProxy.vb (44)
100''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 133''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 168''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 207''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 243''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 273''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 305''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 340''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 365''' <exception cref="IO.PathTooLongException">The directory name is too long.</exception> 398''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 433''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 472''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 500''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 535''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 574''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 625''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 666''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 698''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 725''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 749''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 768''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 788''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 809''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 840''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 885''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 920''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 954''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 991''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1031''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1070''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1101''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1133''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1168''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1193''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1218''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1243''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1346''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1369''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1393''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1417''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1443''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1468''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1490''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception> 1513''' <exception cref="IO.PathTooLongException">The path exceeds the system-defined maximum length.</exception>
MSBuild (2)
XMake.cs (2)
1316catch (PathTooLongException e) 3378catch (PathTooLongException ex)
mscorlib (1)
parent\ref\mscorlib.cs (1)
339[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.PathTooLongException))]
netstandard (1)
netstandard.cs (1)
949[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.PathTooLongException))]
NuGet.Common (4)
ConcurrencyUtilities.cs (2)
81catch (PathTooLongException) 173catch (PathTooLongException)
LocalResourceUtils.cs (2)
52catch (PathTooLongException) 118catch (PathTooLongException)
NuGet.Protocol (2)
Plugins\PluginDiscoverer.cs (1)
284catch (PathTooLongException) { }
Utility\LocalFolderUtility.cs (1)
1276catch (PathTooLongException e)
PresentationFramework (1)
Microsoft\Win32\FileDialog.cs (1)
462catch (PathTooLongException)
PresentationUI (1)
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (1)
268(exception is System.IO.PathTooLongException) ||
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
805ex is PathTooLongException || // The specified path, file name, or both exceed the system-defined maximum length.
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (4)
48/// <exception cref="PathTooLongException"> 104/// <exception cref="PathTooLongException"> 161/// <exception cref="PathTooLongException"> 225/// <exception cref="PathTooLongException">
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (8)
64/// <exception cref="PathTooLongException"> 103/// <exception cref="PathTooLongException"> 141/// <exception cref="PathTooLongException"> 184/// <exception cref="PathTooLongException"> 222/// <exception cref="PathTooLongException"> 266/// <exception cref="PathTooLongException"> 315/// <exception cref="PathTooLongException"> 369/// <exception cref="PathTooLongException">
System.IO.Compression.ZipFile (53)
System\IO\Compression\ZipFile.Create.Async.cs (9)
20/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 45/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 85/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 200/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the specified 245/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the 294/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the 361/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception> 389/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception> 420/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception>
System\IO\Compression\ZipFile.Create.cs (9)
18/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 40/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 77/// <exception cref="PathTooLongException">The specified archiveFileName exceeds the system-defined maximum length. 187/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the specified 229/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the 275/// <exception cref="PathTooLongException">In <code>sourceDirectoryName</code> or <code>destinationArchiveFileName</code>, the 338/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception> 364/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception> 392/// <exception cref="PathTooLongException">In <paramref name="sourceDirectoryName" /> the specified path, file name, or both exceed the system-defined maximum length.</exception>
System\IO\Compression\ZipFile.Extract.Async.cs (10)
25/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 60/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 96/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 153/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 221/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 293/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 325/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 365/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 406/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 462/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception>
System\IO\Compression\ZipFile.Extract.cs (10)
23/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 55/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 88/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 142/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 204/// <exception cref="PathTooLongException">sourceArchive or destinationDirectoryName specifies a path, file name, 266/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 295/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 332/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 370/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception> 418/// <exception cref="PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> exceeds the system-defined maximum length.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Async.cs (4)
29/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length. 58/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length.</exception> 90/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length. 121/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length.</exception>
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (3)
29/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length. 60/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length. 106/// <exception cref="PathTooLongException">In sourceFileName, the specified path, file name, or both exceed the system-defined maximum length.
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.Async.cs (2)
22/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. 55/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.
System\IO\Compression\ZipFileExtensions.ZipArchive.Extract.cs (2)
20/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. 50/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.Async.cs (2)
21/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. 50/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.
System\IO\Compression\ZipFileExtensions.ZipArchiveEntry.Extract.cs (2)
18/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. 46/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\PathHelper.Windows.cs (1)
22/// <exception cref="PathTooLongException">Thrown if we have a string that is too large to fit into a UNICODE_STRING.</exception>
System.IO.IsolatedStorage (3)
System\IO\IsolatedStorage\IsolatedStorageFile.cs (3)
309catch (PathTooLongException) 337catch (PathTooLongException) 365catch (PathTooLongException)
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs (7)
671/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 704/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 777/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 803/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 827/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 984/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> 1017/// <exception cref="PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
322[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.PathTooLongException))]
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
447catch (PathTooLongException)
vstest.console (1)
Processors\ResultsDirectoryArgumentProcessor.cs (1)
127catch (Exception ex) when (ex is NotSupportedException or SecurityException or ArgumentException or PathTooLongException or IOException)
vstest.console.arm64 (1)
parent\vstest.console\Processors\ResultsDirectoryArgumentProcessor.cs (1)
127catch (Exception ex) when (ex is NotSupportedException or SecurityException or ArgumentException or PathTooLongException or IOException)