Bugzilla – Bug 323553
Error when compiling partial class
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by lluis@ximian.com 2007-02-15 16:25:28 MST ---- I get a compilation order when trying to compile the following partial class split in two files ============== test1.cs ============ using System.Collections; namespace MonoDevelop.VersionControl.Dialogs { public partial class Test { public ArrayList selected = new ArrayList (); } } ============== test2.cs ============ namespace MonoDevelop.VersionControl.Dialogs { public partial class Test { } } ========================================== If I run "gmcs test1.cs test2.cs /t:library" it compiles fine. If I run "gmcs test2.cs test1.cs /t:library" I get this error: test1.cs(8,35): error CS0246: The type or namespace name `ArrayList' could not be found. Are you missing a using directive or an assembly reference? ---- Additional Comments From martin@ximian.com 2007-02-15 17:03:21 MST ---- I tried with both r72772 and HEAD and couldn't reproduce it with either one. ---- Additional Comments From marek.safar@seznam.cz 2007-02-15 17:14:06 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO80749 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"