Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion xml/System.IO.Enumeration/FileSystemName.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,17 @@
<summary> Verifies if the given Win32 expression matches the given name. Supports the following wildcards: '*', '?', '&lt;', '&gt;', '"'. The backslash character '\' escapes.</summary>
<returns>
<see langword="true" /> if the given expression matches the given name; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

This is based off of <xref:System.IO.PatternMatcher> used in `FileSystemWatcher`, which is based off of `RtlIsNameInExpression`, which defines the rules for matching DOS wildcards (`'*'`, `'?'`, `'<'`, `'>'`, '"').

Like `PatternMatcher`, matching will not line up with Win32 behavior unless you transform the expression using <xref:System.IO.Enumeration.FileSystemName.TranslateWin32Expression(System.String)>.

]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="TranslateWin32Expression">
Expand Down