[Mono-bugs] [Bug 354310] New: CS0246: Mono.CSharp.MemberName could not be found
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 16 17:09:51 EST 2008
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: mono-bugs at lists.ximian.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list