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.Compilation/AspComponentFoundry.cs')
-rw-r--r--mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs b/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
index c05c719fd66..9de26f6a8f2 100644
--- a/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
+++ b/mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs
@@ -40,12 +40,8 @@ namespace System.Web.Compilation
public AspComponentFoundry ()
{
-#if NET_2_0
- foundries = new Hashtable (StringComparer.InvariantCultureIgnoreCase);
-#else
foundries = new Hashtable (CaseInsensitiveHashCodeProvider.DefaultInvariant,
CaseInsensitiveComparer.DefaultInvariant);
-#endif
Assembly sw = typeof (AspComponentFoundry).Assembly;
RegisterFoundry ("asp", sw, "System.Web.UI.WebControls");
@@ -154,12 +150,8 @@ namespace System.Web.Compilation
public CompoundFoundry (string tagPrefix)
{
this.tagPrefix = tagPrefix;
-#if NET_2_0
- tagnames = new Hashtable (StringComparer.InvariantCultureIgnoreCase);
-#else
tagnames = new Hashtable (CaseInsensitiveHashCodeProvider.DefaultInvariant,
- CaseInsensitiveComparer.DefaultInvariant);
-#endif
+ CaseInsensitiveComparer.DefaultInvariant);
}
public void Add (Foundry foundry)