Description
This method will call ToUpperInvariant on the file paths for Windows. This causes issues if case-sensitivity has been enabled for a directory. The check where we return early should likely be updated to account for whether the directory has case-sensitivity enabled.
Reproduction Steps
Repro steps can be found here microsoft/typespec#5518
Expected behavior
The file paths should respect case-sensitivity if enabled.
Actual behavior
File paths do not respect case-sensitivity.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response