https://bugzilla.novell.com/show_bug.cgi?id=354310
Summary: CS0246: Mono.CSharp.MemberName could not be found
Product: Mono: Compilers
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
When a namespace is imported for which the assembly is not referenced, then an
extra error is reported stating that the type or namespace
'Mono.CSharp.MemberName' could not be found.
To reproduce, compile the following code:
using System;
using System.Windows.Forms;
class Program
{
static void Main ()
{
}
}
Expected result:
test.cs(2,14): error CS0234: The type or namespace name `Windows' does not
exist in the namespace `System'. Are you missing an assembly reference?
Actual result:
test.cs(2,14): error CS0234: The type or namespace name `Windows' does not
exist in the namespace `System'. Are you missing an assembly reference?
test.cs(2,1): error CS0246: The type or namespace name `Mono.CSharp.MemberName'
could not be found. Are you missing a using directive or an assembly reference?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs