Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs
index e129987c6b5..5c3cd911a8b 100644
--- a/mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs
+++ b/mcs/class/System.Web/System.Web.Configuration_2.0/CompilerCollection.cs
@@ -29,6 +29,7 @@
//
#if NET_2_0
+#if CONFIGURATION_2_0
using System;
using System.Configuration;
@@ -83,7 +84,7 @@ namespace System.Web.Configuration
}
}
- public override ConfigurationElementCollectionType CollectionType {
+ protected override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
@@ -108,6 +109,20 @@ namespace System.Web.Configuration
return null;
}
}
+
+#region CompatabilityCode
+ [MonoTODO ("we shouldn't need this..")]
+ internal bool CompareLanguages (string lang1, string lang2)
+ {
+ return (this [lang1] == this [lang2]);
+ }
+
+ internal void Add (Compiler compiler)
+ {
+ BaseAdd (compiler);
+ }
+#endregion
}
}
#endif
+#endif