Make final API review changes to file enumeration (dotnet/corefx#27318)

* Make final API review changes to file enumeration

Tweak stack array initialization to just zero the first element in matcher algorithm.

cc: @danmosemsft @terrajobst

* Don't null out the native name to track conversion


Commit migrated from https://github.com/dotnet/corefx/commit/62878f34d65f8bac6f7ebd91083fb9a02866de98
This commit is contained in:
Jeremy Kuhne authored and GitHub committed 2018-02-21 19:32:31 -08:00
1 parent ef1cab811c
commit c60340730c
11 files changed
+57 -25

No files matched your search

@@ -226,7 +226,7 @@ namespace System.IO
public enum MatchType
{
Simple,
Dos
Win32
}
public enum MatchCasing
{
@@ -260,6 +260,7 @@ namespace System.IO.Enumeration
public DateTimeOffset LastAccessTimeUtc { get { throw null; } }
public DateTimeOffset LastWriteTimeUtc { get { throw null; } }
public bool IsDirectory { get { throw null; } }
public bool IsHidden { get { throw null; } }
public FileSystemInfo ToFileSystemInfo() { throw null; }
public string ToSpecifiedFullPath() { throw null; }
public string ToFullPath() { throw null; }
@@ -297,8 +298,8 @@ namespace System.IO.Enumeration
}
public static class FileSystemName
{
public static string TranslateDosExpression(string expression) { throw null; }
public static bool MatchesDosExpression(ReadOnlySpan<char> expression, ReadOnlySpan<char> name, bool ignoreCase = true) { throw null; }
public static string TranslateWin32Expression(string expression) { throw null; }
public static bool MatchesWin32Expression(ReadOnlySpan<char> expression, ReadOnlySpan<char> name, bool ignoreCase = true) { throw null; }
public static bool MatchesSimpleExpression(ReadOnlySpan<char> expression, ReadOnlySpan<char> name, bool ignoreCase = true) { throw null; }
}
}