Author: aolk
Date: 2006-06-01 11:20:24 -0400 (Thu, 01 Jun 2006)
New Revision: 61377
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Mime.cs
Log:
2006-06-01 Alexander Olk <[EMAIL PROTECTED]>
* Mime.cs: Fix for the NET_2_0 build.
NameValueCollection needs StringComparer now.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-01 14:51:02 UTC (rev 61376)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-01 15:20:24 UTC (rev 61377)
@@ -1,3 +1,8 @@
+2006-06-01 Alexander Olk <[EMAIL PROTECTED]>
+
+ * Mime.cs: Fix for the NET_2_0 build.
+ NameValueCollection needs StringComparer now.
+
2006-05-31 Chris Toshok <[EMAIL PROTECTED]>
* DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Mime.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Mime.cs
2006-06-01 14:51:02 UTC (rev 61376)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Mime.cs
2006-06-01 15:20:24 UTC (rev 61377)
@@ -101,12 +101,22 @@
private Mime( )
{
+#if NET_2_0
+ Aliases = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+ SubClasses = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+ GlobalPatternsShort = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+ GlobalPatternsLong = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+ GlobalLiterals = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+ GlobalSufPref = new NameValueCollection
(StringComparer.CurrentCultureIgnoreCase);
+#else
Aliases = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
SubClasses = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
GlobalPatternsShort = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
GlobalPatternsLong = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
GlobalLiterals = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
GlobalSufPref = new NameValueCollection (new
CaseInsensitiveHashCodeProvider (), new Comparer
(System.Globalization.CultureInfo.CurrentUICulture));
+#endif
+
Matches80Plus = new ArrayList ();
MatchesBelow80 = new ArrayList ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches