Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs b/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
index 4ed5069b3..61a8314ac 100644
--- a/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/Path.Unix.cs
@@ -25,8 +25,6 @@ namespace System.IO
if (path.Length == 0)
throw new ArgumentException(SR.Arg_PathEmpty, nameof(path));
- PathInternal.CheckInvalidPathChars(path);
-
// Expand with current directory if necessary
if (!IsPathRooted(path))
{
@@ -176,7 +174,6 @@ namespace System.IO
if (path == null)
return false;
- PathInternal.CheckInvalidPathChars(path);
return path.Length > 0 && path[0] == PathInternal.DirectorySeparatorChar;
}