Skip to content

Commit

Permalink
Fix nativeaot outerloop (#109009)
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Strehovský <[email protected]>
  • Loading branch information
github-actions[bot] and MichalStrehovsky authored Oct 18, 2024
1 parent 8e4889b commit 197db4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public void ValidateThrowingWhenUsingCustomUnspecifiedLcid()
public void BuiltInRegionListTest()
{
// Ensure we can create all region info objects from the built-in list
Dictionary<string, string> regionNames = (Dictionary<string, string>)typeof(RegionInfo).Assembly.GetType("System.Globalization.CultureData").GetProperty("RegionNames", BindingFlags.Static | BindingFlags.NonPublic).GetValue(null);
Dictionary<string, string> regionNames = (Dictionary<string, string>)Type.GetType("System.Globalization.CultureData, System.Private.CoreLib").GetProperty("RegionNames", BindingFlags.Static | BindingFlags.NonPublic).GetValue(null);

foreach (var kvp in regionNames)
{
Expand Down

0 comments on commit 197db4f

Please sign in to comment.