[release/9.0-staging] Fix absolute path check when loading hostfxr/hostpolicy/coreclr by elinor-fung · Pull Request #116775 · dotnet/runtime

@elinor-fung

On Windows, we were incorrectly only checking for <letter>: and incorrectly determining that UNC and device paths were not absolute. This updates pal::is_path_rooted to match the managed Path.IsPathRooted and adds a pal::is_path_absolute with the logic of Path.IsPartiallyQualified

AI review requested due to automatic review settings

June 18, 2025 02:13

AaronRobinsonMSFT

jeffschwMSFT