http://bugzilla.novell.com/show_bug.cgi?id=532865

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=532865#c2





--- Comment #2 from Martin Baulig <[email protected]>  2009-08-25 11:56:19 MDT 
---
Unfortunately, this isn't easy and it looks like I need to make some larger
changes to the line number lookup code :-(

The problem is this, if you look at `mdb-symbolreader --lnt':

====
Method 9 - WindowsFormsApplication2.Form1..ctor()
  File 3: WindowsFormsApplication2/Form1.Designer.cs
    Line 3:8:0 - 8 8 9 68
  File 4: WindowsFormsApplication2/Form1.cs
    Line 4:14:7 - 14 14 9 23
    Line 4:15:e - 15 15 9 10
    Line 4:16:f - 16 16 13 35
    Line 4:17:16 - 17 17 9 10
====

The .ctor has two source files, and note that this is different to
compiler-generated .aspx code with #line directives where the method starts and
ends in the same source file.

Here, we start and end in different source files, so computing the methods
bounds fails.

Line 8 in the Form1.Designer.cs is the field initializer.

I have to think about how to fix that.

-- 
Configure bugmail: http://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