https://bugzilla.novell.com/show_bug.cgi?id=331781#c1
--- Comment #1 from Juraj Skripsky <[EMAIL PROTECTED]> 2007-10-09 09:59:02 MST
---
The stack trace's line numbers are off even without the line pragma:
============
1: using System;
2: class Test {
3: static void Main() {
4: try {
5: object o = null;
6: o.ToString();
7: } catch(Exception e) {
8: Console.WriteLine(e);
9: }
10: }
11:}
============
System.NullReferenceException: Object reference not set to an instance of an
object
at Test.Main () [0x00000] in /home/js/temp/test3.cs:5
It should read 6, not 5 (assuming we start counting lines with 1).
--
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