Re-add assertions to ensure it's working running the executable file.

This commit is contained in:
BDisp
2024-08-01 10:47:31 +01:00
parent 5910d13bd1
commit f3146a25cd

View File

@@ -21,6 +21,11 @@ public static class Program
// Only happens if the project has <InvariantGlobalization>true</InvariantGlobalization>
Debug.Assert (Application.SupportedCultures.Count == 0);
}
else
{
Debug.Assert (Application.SupportedCultures.Count > 0);
Debug.Assert (Equals (CultureInfo.CurrentCulture, Thread.CurrentThread.CurrentUICulture));
}
#endregion