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/PathInternal.Windows.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/PathInternal.Windows.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IO/PathInternal.Windows.cs b/src/System.Private.CoreLib/shared/System/IO/PathInternal.Windows.cs
index 81d51ba4b..5b1a133ca 100644
--- a/src/System.Private.CoreLib/shared/System/IO/PathInternal.Windows.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/PathInternal.Windows.cs
@@ -270,19 +270,6 @@ namespace System.IO
return i;
}
- private static bool StartsWithOrdinal(ReadOnlySpan<char> source, string value)
- {
- if (source.Length < value.Length)
- return false;
-
- for (int i = 0; i < value.Length; i++)
- {
- if (value[i] != source[i])
- return false;
- }
- return true;
- }
-
/// <summary>
/// Returns true if the path specified is relative to the current drive or working directory.
/// Returns false if the path is fixed to a specific drive or UNC path. This method does no