diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/IO/Path.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/IO/Path.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IO/Path.cs b/src/System.Private.CoreLib/shared/System/IO/Path.cs index fe6234cc7..9033350a8 100644 --- a/src/System.Private.CoreLib/shared/System/IO/Path.cs +++ b/src/System.Private.CoreLib/shared/System/IO/Path.cs @@ -477,22 +477,6 @@ namespace System.IO return true; } - private static string CombineInternal(ReadOnlySpan<char> first, ReadOnlySpan<char> second) - { - if (first.Length == 0) - return second.Length == 0 - ? string.Empty - : new string(second); - - if (second.Length == 0) - return new string(first); - - if (IsPathRooted(second)) - return new string(second); - - return JoinInternal(first, second); - } - private static string CombineInternal(string first, string second) { if (string.IsNullOrEmpty(first)) |