[Mono-bugs] [Bug 514155] asp.net.framework browsercaps.aspx table content is sent out in different order on mswindows vs. linux
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 17 19:58:57 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=514155
User robertj at gmx.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=514155#c4
Robert Jordan <robertj at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |robertj at gmx.net
--- Comment #4 from Robert Jordan <robertj at gmx.net> 2009-06-17 17:58:56 MDT ---
This is caused by a sort order inconsistency in gmcs under Windows. It emits
properties in a different order (base class props come first):
// gmcs -pkg:dotnet propsort.cs
using System;
using System.Reflection;
using System.Web;
class Test
{
static void Main ()
{
PropertyInfo [] props = typeof (HttpBrowserCapabilities)
.GetProperties ();
foreach (PropertyInfo prop in props)
Console.WriteLine (prop.Name);
}
}
Anyway, here is patch that fixes this locally. You'll probably have to adjust
your automatic tests, because the list is now sorted.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list