[Mono-list] SQLDataReader error
Jonathan Stowe
jns@gellyfish.com
Wed, 12 May 2004 18:54:41 +0100
On Wed, 2004-05-12 at 18:27, Ellis, Edward wrote:
> I get the following error:
>
> ** (GetAnalysisTime_C.exe:31073): WARNING **: Missing method get_HasRows
> in assembly /home/d3j409/GetAnalysisTime_C.exe typeref index 26
>
> ** ERROR **: file mini.c: line 3191 (mono_method_to_ir): assertion
> failed: (cmethod)
> aborting...
> Aborted
>
> I believe it is caused by the following statement:
>
> if (!(Reader.HasRows)) return ""; //Specified job wasn't
> found
>
> Is this a bug in mini, SQLDataReader, or "a loose nut behind the wheel"?
>
In SqlResultSet.cs:
public bool HasRows {
get { throw new NotImplementedException (); }
}
However this is not in SqlDataReader where it should be:
ServiceHierarchy.cs(73) error CS0117:
`System.Data.SqlClient.SqlDataReader' does not contain a definition for
`HasRows'
Compilation failed: 1 error(s), 0 warnings
make: *** [ServiceHierarchy.exe] Error 1
I take it you are running an assembly compiled with the MS SDK?
I would file a bug.
/J\
> J. Edward Ellis
> Battelle, Pacific Northwest National Laboratory
> (509) 375-3627 office
> (509) 521-6361 cell
> (509) 372-4725 FAX
> mailto:edward.ellis@pnl.gov
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list