Ensure pwszLanguage passed to GetFileMUIPath is empty string (#54978)
authorStephen Toub <stoub@microsoft.com>
Thu, 1 Jul 2021 10:44:11 +0000 (06:44 -0400)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 10:44:11 +0000 (06:44 -0400)
commit6a70a501101eff32a5cb12413ca572f39e46de7e
tree21c900f78ab2324ef26c083e9ce75d252c299768
parent03cafd76bc1b048b4bb93e90f40cbae8ee30a815
Ensure pwszLanguage passed to GetFileMUIPath is empty string (#54978)

We're currently treating it only as output, but according to the docs it's also used as input and so needs to be well-formed.  Using an empty string ensures it doesn't take precedence over the flags, per the docs for the function.
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Win32.cs