Bugzilla – Bug 320715
[GMCS] incorrect CS0262 when using partial classes
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by vargaz@gmail.com 2006-03-31 08:59:22 MST ---- Testcase: <<<<<<<<<<<<<<<<<<<< using System; public partial class ReflectedType { } partial class ReflectedType { } <<<<<<<<<<<<<<<<<<<< csc compiles this just fine, while gmcs aborts with: bug.cs(6,15): error CS0262: Partial declarations of `ReflectedType' have conflicting accessibility modifiers bug.cs(3,22):: `ReflectedType', name of symbol related to previous error This bug prevents IronPython beta 5 from compiling with mono. ---- Additional Comments From marek.safar@seznam.cz 2006-04-01 03:13:35 MST ---- Fixed in SVN. ---- Additional Comments From vargaz@gmail.com 2006-04-01 08:17:16 MST ---- Could this be backported to the 1.1.13 branch too ? ---- Additional Comments From marek.safar@seznam.cz 2006-04-01 08:38:52 MST ---- The patch cannot be simply apply to 1.1.13 as the partial classes were basically rewritten for 1.1.14. Unknown operating system unknown. Setting to default OS "Other".