Fix Chr_CharCodeOutOfRange_ThrowsNotSupportedException VB test (dotnet/corefx#36165)
authorStephen Toub <stoub@microsoft.com>
Wed, 20 Mar 2019 00:06:49 +0000 (20:06 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Mar 2019 00:06:49 +0000 (20:06 -0400)
commit6ed15ec944afb7dba287c746488ee934064b7887
tree51b6e14cb160a3734f5d981f30c4476d2f6c2a62
parent5eb959511e8f0ab513c54b202a257e9631f89e03
Fix Chr_CharCodeOutOfRange_ThrowsNotSupportedException VB test (dotnet/corefx#36165)

When run in some cultures, the TextInfo.ANSICodePage in place and that's queried by Strings.Chr doesn't fail for the specified inputs, contrary to what's documented (this is true for both .NET Framework and .NET Core).  This change just fixes the test to always use en-US so as to avoid any issues when the test suite is run with other code pages.

Commit migrated from https://github.com/dotnet/corefx/commit/c0cb02534f6652483f7eae20e2984392418583fd
src/libraries/Microsoft.VisualBasic.Core/tests/Microsoft.VisualBasic.Core.Tests.csproj
src/libraries/Microsoft.VisualBasic.Core/tests/StringsTests.cs