Verify Path.IsPathRooted() Method Compatibility on Non-Windows Platforms
Open
Area-Razor
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
`Path.IsPathRooted()` does not seem to work correctly on platforms other than Windows. This complicates cross-platform compatibility.
## Expected Behavior:
- `Path.IsPathRooted()` should correctly determine if a path is rooted on all supported platforms.
- The method should throw an `ArgumentException` if the provided path is not rooted.
## Steps to Reproduce:
1. Use the` Path.IsPathRooted()` method with a non-rooted path on a non-Windows platform.
2. Observe that the method does not behave as expected.
Contributor guide
Assessment
This issue has not been assessed yet.