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=81894 --- shadow/81894 2007-06-18 07:49:50.000000000 -0400 +++ shadow/81894.tmp.27081 2007-06-18 07:49:50.000000000 -0400 @@ -0,0 +1,56 @@ +Bug#: 81894 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [GMCS] CS0305 instead of CS0246 + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + + +Steps to reproduce the problem: +1. + +using System.Collections.Generic; + +public class X +{ + static void Main () + { + object t = typeof (Stack<,>); + } +} + + +Actual Results: + +?.cs(17,44): error CS0246: The type or namespace name `Stack`2' could not +be found. Are you missing a using directive or an assembly reference? + + +Expected Results: + +?.cs(17,22): error CS0305: Using the generic type +'System.Collections.Generic.Stack<T>' requires '1' type arguments + +How often does this happen? + +100% + +Additional Information: + +It is quite tricky to implement today and it will probably require +refactoring of type/namespace resolving code but it is worth doing. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
