Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78601 --- shadow/78601 2006-06-15 05:25:15.000000000 -0400 +++ shadow/78601.tmp.32559 2006-06-15 06:06:55.000000000 -0400 @@ -1,12 +1,12 @@ Bug#: 78601 Product: Mono: Compilers Version: 1.1 OS: unknown OS Details: FC5 -Status: NEW +Status: ASSIGNED Resolution: Severity: Unknown Priority: Normal Component: C# AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] @@ -84,6 +84,43 @@ If you're interested in fixing the issue, please assign the bug to yourself (Cc:ing me). ------- Additional Comments From [EMAIL PROTECTED] 2006-06-15 05:25 ------- Sorry, didn't see your comment until now. I'll look at the other callsites. + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-15 06:06 ------- +Hmm, I've only found one single test case which reaches one of the +other callsites : + +=========== +using System.Collections; + +public class Test { + ArrayList ArrayList; + + public static void Main () { + ArrayList.Capacity = 5; + } +} +============ + +Output from mcs: +---------------- +error CS0120: `ArrayList': An object reference is required for the +nonstatic field, method or property + +Output from csc: +---------------- +error CS0120: An object reference is required for the nonstatic field, +method, or property 'System.Collections.ArrayList.Capacity' + + +I would except the compiler to either tell me that +"System.Collections.ArrayList.Capacity" (as csc does) or that +"Test.ArrayList" is the field needing an object reference. + + +So my questions now are: +- What do we want mcs to report for the test case above? +- How do I reach the other callsites? +- When and why do we want to report the short name? _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
