[Mono-bugs] [Bug 79398][Nor] New - A.B.XXX namespace makes other XXX not accessible
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Sep 14 14:50:50 EDT 2006
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 fog at initd.org.
http://bugzilla.ximian.com/show_bug.cgi?id=79398
--- shadow/79398 2006-09-14 14:50:50.000000000 -0400
+++ shadow/79398.tmp.23570 2006-09-14 14:50:50.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 79398
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: Debian unstable
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: fog at initd.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: A.B.XXX namespace makes other XXX not accessible
+
+Description of Problem:
+It seems that inside a namespace that has XXX as the last component (like
+Test.Npgsql where XXX is Npgsql in this case) any kind of access to a
+namespace XXX is impossible. This is true even using the "using X = Y" form
+of using and the error is always the same.
+
+An example that tries to use members of the Npgsql namespace inside a
+Test.Npgsql namespace is attached. It always result ina compilation error.
+
+Steps to reproduce the problem:
+1. Try to compile the attached test program using "mcs -r:Npgsql test.cs".
+
+Actual Results (example of compilation error):
+test.cs(4,20): error CS0234: The type or namespace name `NpgsqlConnection'
+doesnot exist in the namespace `Test.Npgsql'. Are you missing an assembly
+reference?Compilation failed: 1 error(s), 0 warnings
+
+Expected Results:
+Compilation ok.
+
+How often does this happen?
+Always.
+
+Additional Information:
+None.
More information about the mono-bugs
mailing list