https://bugzilla.novell.com/show_bug.cgi?id=671878

https://bugzilla.novell.com/show_bug.cgi?id=671878#c3


--- Comment #3 from Sebastien Pouliot <[email protected]> 2011-02-14 21:59:06 
UTC ---
actually you can dupe it with MCS 2.11 (did not try 2.10 - but it affect
Moonlight bots) but not with the older compiler (like my system 2.6)

poupou@pollux:~/src/bugzilla> mcs --version
Mono C# compiler version 2.6.4.0
poupou@pollux:~/src/bugzilla> mcs ex.cs
ex.cs(11,17): warning CS0162: Unreachable code detected
Compilation succeeded - 1 warning(s)
poupou@pollux:~/src/bugzilla> mono ex.exe 
Incorrect WebException: System.Net.WebException: uho
  at Program.NotFound_GotResponse (IAsyncResult ar) [0x00000] in <filename
unknown>:0 


[mono] ~/src/bugzilla @ mcs --version
Mono C# compiler version 2.11.0.0
[mono] ~/src/bugzilla @ mcs ex.cs
ex.cs(11,17): warning CS0162: Unreachable code detected
Compilation succeeded - 1 warning(s)
[mono] ~/src/bugzilla @ mono ex.exe 
Exception thrown2: System.Net.WebException: uho
  at Program.NotFound_GotResponse (IAsyncResult ar) [0x00000] in <filename
unknown>:0 


"Incorrect WebException" is ok (2.6) while "Exception thrown2:" is not (2.11).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to