[io-layer] add URLs for some ximian bug numbers in sockets.cs
[mono.git] / mcs / mcs / namespace.cs
index 7dd44807f6810e358d40b258aed1bbce65ddb369..de355945a0643f97667e26eac9179ae7fb1a7ae0 100644 (file)
@@ -378,8 +378,10 @@ namespace Mono.CSharp {
                                        if (mode != LookupMode.Normal)
                                                continue;
 
-                                       if (ts.MemberDefinition.IsImported)
+                                       if (ts.MemberDefinition.IsImported) {
+                                               ctx.Module.Compiler.Report.SymbolRelatedToPreviousError (best);
                                                ctx.Module.Compiler.Report.SymbolRelatedToPreviousError (ts);
+                                       }
 
                                        ctx.Module.Compiler.Report.Warning (436, 2, loc,
                                                "The type `{0}' conflicts with the imported type of same name'. Ignoring the imported type definition",