[Mono-list] Error using System.Data.dll compiled with mcs

Francisco Jr. fxjrlists@yahoo.com.br
Tue, 11 Jun 2002 10:50:44 -0300 (ART)


Hi all,

I'm having some problems with the compiled
System.Data.dll using mcs.

When I try to use a simple test that uses an
SqlCommand object (just put a SqlCommand object
statement in a test file), mcs gives me the following
error:

no implementation for interface method
System.Data.IDbCommand::get_Connection in class
System.Data.SqlClient.SqlCommand
METHOD .ctor
METHOD .ctor
METHOD .ctor
METHOD .ctor
METHOD Cancel
METHOD System.Data.IDbCommand.CreateParameter
METHOD CreateParameter
METHOD ExecuteNonQuery
METHOD System.Data.IDbCommand.ExecuteReader
METHOD ExecuteReader
METHOD System.Data.IDbCommand.ExecuteReader
METHOD ExecuteReader
METHOD NextResult
METHOD TweakQuery
METHOD ExecuteQuery
METHOD CloseReader
METHOD OpenReader
METHOD ExecuteScalar
METHOD ExecuteXmlReader
METHOD Prepare
METHOD Clone
METHOD Dispose
METHOD Finalize
METHOD get_CommandText
METHOD set_CommandText
METHOD get_CommandTimeout
METHOD set_CommandTimeout
METHOD get_CommandType
METHOD set_CommandType
METHOD get_Connection
METHOD set_Connection
METHOD get_Connection
METHOD set_Connection
METHOD get_DesignTimeVisible
METHOD set_DesignTimeVisible
METHOD get_Parameters
METHOD get_Parameters
METHOD get_Transaction
METHOD set_Transaction
METHOD get_Transaction
METHOD set_Transaction
METHOD get_UpdatedRowSource
METHOD set_UpdatedRowSource

** ERROR **: file class.c: line 598 (mono_class_init):
should not be reached
aborting...
/usr/bin/mcs: line 2:  9019 Aborted                
/usr/bin/mono /usr/bin/mcs.exe "$@"

As it shows, *there is* implementation of
get_Connection. There are, in fact, two
implementations, one explicit interface implementation
and other implict strong type implementation. 

I could see that the System.Data.dll that comes with
mono doesn't have this problem, which could mean that
it is being compiled in windows on cygwin with csc???

I want to check this error, but I would like some tips
to where I should go. 

Thanks.


=====
Regards,
Francisco Jr.

_______________________________________________________________________
Copa 2002
Yahoo! - Patrocinador oficial da Copa do Mundo da FIFA 2002
http://br.sports.yahoo.com/fifaworldcup/