[Mono-bugs] [Bug 29479][Min] Changed - mcs allows 'using XXX' when XXX does not exists

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Sep 2002 03:02:31 -0000


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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=29479

--- shadow/29479	Wed Sep 11 22:11:47 2002
+++ shadow/29479.tmp.29781	Wed Sep 11 23:02:30 2002
@@ -1,13 +1,13 @@
 Bug#: 29479
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: Misc
 AssignedTo: miguel@ximian.com                            
 ReportedBy: gonzalo@ximian.com               
 QAContact: mono-bugs@ximian.com
@@ -113,6 +113,19 @@
 
 Worth keeping in mind.
 
 ------- Additional Comments From miguel@ximian.com  2002-09-08 01:41 -------
 I have implemented the code, but it crashes the Mono runtime.  See bug
 30020 for details.
+
+------- Additional Comments From miguel@ximian.com  2002-09-11 23:02 -------
+Ok, this has been implemented following Paolo's suggestion.
+
+There is a drawback though, the assumption that we would not hit the
+slow path (load the assemblies at the end) turned out to be wrong,
+because people are blindly putting more using statements than they
+should, so we end up emitting a bunch of warnings.
+
+Currently corlib generates 490 of these warnings, i am not sure if it
+is even worth fixing, so for now am making this feature available only
+at warning level 4 (the default is 2).
+