runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Documentation error for System.IO.Directory.GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions)

Open miegir opened this issue 2 years ago • 5 comments

Can't find xmldoc source and the proper place to report this bug or make a PR.

image In System.IO.Directory.GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions) overload documentation, the parameter description for searchPattern should be about 'files', not 'subdirectories'.

miegir avatar Dec 07 '23 12:12 miegir

Tagging subscribers to this area: @dotnet/area-system-io See info in area-owners.md if you want to be subscribed.

Issue Details

Can't find xmldoc source and the proper place to report this bug or make a PR.

image In System.IO.Directory.GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions) overload documentation, the parameter description for searchPattern should be about 'files', not 'subdirectories'.

Author: miegir
Assignees: -
Labels:

area-System.IO

Milestone: -

ghost avatar Dec 07 '23 12:12 ghost

Can't find xmldoc source

https://github.com/dotnet/dotnet-api-docs/blob/2aa0baa2488351c358d58e14fb1f37e041d56b60/xml/System.IO/Directory.xml#L3067

On the documentation page you can click the pencil and it will take you to the source file.

image

Feel free to send a PR addressing the issue, thanks.

jozkee avatar Dec 07 '23 16:12 jozkee

Hi, @Jozkee. I noticed this issue had no recent activity, so I created an issue in the api-docs repo and submitted a PR, as you suggested.

GustavoAdami avatar May 29 '24 06:05 GustavoAdami

@Jozkee, docs were updated in the PR mentioned above.

GustavoAdami avatar May 30 '24 23:05 GustavoAdami

Fixed by @GustavoAdami in https://github.com/dotnet/dotnet-api-docs/pull/9967, thank you!

adamsitnik avatar Jun 03 '24 09:06 adamsitnik