* WebEncoding.cs: CONFIGURATION_2_0 => NET_2_0, and use GetSection
instead of GetWebApplicationSection.
svn path=/trunk/mcs/; revision=56408
+2006-02-01 Chris Toshok <toshok@ximian.com>
+
+ * WebEncoding.cs: CONFIGURATION_2_0 => NET_2_0, and use GetSection
+ instead of GetWebApplicationSection.
+
2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UrlUtils.cs: more than one consecutive slash are turned into one.
{
internal class WebEncoding
{
-#if CONFIGURATION_2_0
+#if NET_2_0
static bool cached;
static GlobalizationSection sect;
static GlobalizationSection GlobalizationConfig {
get {
if (!cached) {
try {
- sect = (GlobalizationSection) WebConfigurationManager.GetWebApplicationSection ("system.web/globalization");
+ sect = (GlobalizationSection) WebConfigurationManager.GetSection ("system.web/globalization");
}
catch { }
cached = true;