dotnet / dotnet/dotnet-api-docs
Source code typo
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Hi,
i do like your documentation very much. Maybe we can improve it together, plkease check my suggestion, i think it is just a typo/copy and paste error:
CURRENT source code line:
if (path.Equals(Directory.GetCurrentDirectory()))
SUGGESTED source code line:
if (target.Equals(Directory.GetCurrentDirectory()))
Kind regards
AL
---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: 3a9ac029-d61c-90af-fadf-5d01c40ef2ef
* Version Independent ID: 4c01f755-9830-7fce-1ec0-28caa161819b
* Content: [Directory.GetCurrentDirectory Method (System.IO)](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getcurrentdirectory?view=net-9.0#system-io-directory-getcurrentdirectory)
* Content Source: [xml/System.IO/Directory.xml](https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/Directory.xml)
* Service: **dotnet-api**
* Sub-service: **system.io**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.