[Mono-bugs] [Bug 631409] Inconsistent/Invalid order when calling parent's class cctor/ctor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 16 06:26:42 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=631409

http://bugzilla.novell.com/show_bug.cgi?id=631409#c1


--- Comment #1 from Pablo Ruiz <pruiz at netway.org> 2010-08-16 10:26:41 UTC ---
As a temporal WOR modifying ServiceConfigurator::Create() to instantiate
ServiceController<> using reflection seems to work fine.

   Type d1 = typeof(ServiceController<>);
   Type[] typeArgs = { typeof(T) };
   Type makeme = d1.MakeGenericType(typeArgs);
   ServiceController<T> serviceController =    
Activator.CreateInstance(makeme) as ServiceController<T>;

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list