[mono-vb] "user the OTHER overload"? (internal compiler error)

Emerson, Tom (*IC) Tom.Emerson at wbconsultant.com
Fri Nov 2 18:59:27 EDT 2007

-----Original Message----- of Andy Hume

Sounds like https://bugzilla.novell.com/show_bug.cgi?id=325339 cunningly
entitled vbnc: error "Use the other overload."  Is there a AddressOf
operator at line 44 in your code?

It's fixed in the current code, and thus will be in the 1.2.6 release.
There's a workaround for the issue too; add an explicit creation of a
delegate.  Let us know how it goes...

Hmmm... Too many places to search for errors I guess -- it didn't show
up on my initial search of the net ("other" and "overload" are too
generic of terms, even when combined...)  But to answer your question,
yes, the auto-generated code defining the "database" does indeed have an
"addressof" operation in line 44 of DB.Designer.vb (and two other places
to boot)

Since it is "code I didn't write", I'm not too fond of the idea of
mucking about with it

The line in question appears to be:

   Dim schemaChangedHandler
       As System.ComponentModel.CollectionChangeEventHandler 
       = AddressOf Me.SchemaChanged

[line breaks added by me] (the other two instances are similar)

More information about the Mono-vb mailing list