https://bugzilla.novell.com/show_bug.cgi?id=345467#c2





--- Comment #2 from Aaron Bockover <[EMAIL PROTECTED]>  2007-12-02 22:29:01 MST 
---
Created an attachment (id=185574)
 --> (https://bugzilla.novell.com/attachment.cgi?id=185574)
Test case 2

This test case removes the nullable argument to Query<T>, and produces a
different exception. Again however, if MakeSomething<T> () is replaced with
null, it compiles.

The compiler produces the following exception:

Unhandled Exception: Mono.CSharp.InternalErrorException: bug1.cs(6,7):
BaseObject ---> System.InvalidOperationException: Method 'BaseObject.Query'
does not have a method body.
  at System.Reflection.Emit.MethodBuilder.fixup () [0x00000] 
  at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] 
  at Mono.CSharp.TypeContainer.CloseType () [0x00000] --- End of inner
exception stack trace ---

  at Mono.CSharp.TypeContainer.CloseType () [0x00000] 
  at Mono.CSharp.RootContext.CloseTypes () [0x00000] 
  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000] 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 


-- 
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to