Bug 320715 (MONO77966) - [GMCS] incorrect CS0262 when using partial classes
Summary: [GMCS] incorrect CS0262 when using partial classes
Status: RESOLVED FIXED
Alias: MONO77966
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Marek Safar
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 15:59 UTC by Forgotten User vxPDddArjq
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:53:35 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".