Browse Source

fix build

svn path=/trunk/mcs/; revision=53813
Chris Toshok 20 years ago
parent
commit
17b0e9d341

+ 2 - 2
mcs/class/System.Web/System.Web.Configuration_2.0/GlobalizationSection.cs

@@ -95,14 +95,14 @@ namespace System.Web.Configuration {
 			CultureInfo culture;
 
 			try {
-				culture = new CultureInfo.GetCultureInfo (Culture);
+				culture = new CultureInfo (Culture);
 			}
 			catch {
 				throw new ConfigurationErrorsException ("the <globalization> tag contains an invalid value for the 'culture' attribute");
 			}
 
 			try {
-				culture = new CultureInfo.GetCultureInfo (UICulture);
+				culture = new CultureInfo (UICulture);
 			}
 			catch {
 				throw new ConfigurationErrorsException ("the <globalization> tag contains an invalid value for the 'uiCulture' attribute");