diff --git a/src/libraries/System.Private.CoreLib/src/System/IO/EnumerationOptions.cs b/src/libraries/System.Private.CoreLib/src/System/IO/EnumerationOptions.cs index b80fd200532f85..54791e342a8827 100644 --- a/src/libraries/System.Private.CoreLib/src/System/IO/EnumerationOptions.cs +++ b/src/libraries/System.Private.CoreLib/src/System/IO/EnumerationOptions.cs @@ -73,10 +73,16 @@ internal static EnumerationOptions FromSearchOption(SearchOption searchOption) /// The default is simple matching where '*' is always 0 or more characters and '?' is a single character. public MatchType MatchType { get; set; } - /// Gets or sets the case matching behavior. - /// One of the enumeration values that indicates the case matching behavior. - /// For APIs that allow specifying a match expression, this property allows you to specify the case matching behavior. - /// The default is to match platform defaults, which are gleaned from the case sensitivity of the temporary folder. + /// + /// Gets or sets the case matching behavior for entry (file and directory) name matching against the search pattern. + /// + /// + /// This property affects only how entry names (file and directory names) are matched against the search pattern during enumeration. + /// It does not affect directory path resolution or traversal. On case-sensitive file systems + /// (common on Linux or when using a case-sensitive volume), directory paths must match the exact casing + /// regardless of this setting; on case-insensitive file systems, path resolution follows the behavior + /// of the underlying file system. The default is to match the platform defaults. + /// public MatchCasing MatchCasing { get; set; } /// Gets or sets a value that indicates the maximum directory depth to recurse while enumerating, when is set to .