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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=360796#c1





--- Comment #1 from Casey Marshall <[EMAIL PROTECTED]>  2008-02-11 16:39:18 MST 
---
Note that if I split the offending method up into pieces, then call each piece,
the error isn't triggered. So this fails:

  protected override void OnLoad(EventArgs e)
  {
    // ~200 lines
  }

But this does not:

  protected override void OnLoad(EventArgs e)
  {
    OnLoad1(e);
    OnLoad2(e);
    OnLoad3(e);
  }

  void OnLoad1(EventArgs e)
  {
    // some stuff...
  }
  void OnLoad2(EventArgs e)
  {
    // more stuff...
  }
  void OnLoad3(EventArgs e)
  {
    // the rest of the stuff...
  }

I have not experimented with what the limit is. It's approximately split into
thirds.


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

Reply via email to