2using System.Runtime.InteropServices;
3using System.Runtime.Versioning;
11 [SupportedOSPlatformGuard(
"windows")]
22 IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
29 ArgumentNullException.ThrowIfNull(path);
31 path = path.Replace(
'\\',
'/');