hi,

I've found that mono ( git branch mono-2-10 which corresponds to mono
2.10.7 as of today) crashes on the fist line of the
SqlClientSqlCommandSet ctor due to
not finding "System.Data.SqlClient.SqlCommandSet" in static
constructor here:

https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs#L32

According to:  Assembly.GetType Method (String) MSDN remarks:
"This method only searches the current assembly instance."
( http://msdn.microsoft.com/en-us/library/y0cd10tb.aspx ), therefore -
as far as i understand - it should not find SqlClientSqlCommandSet
type.

Is this a mono bug or .net not behaving like it states in
Assembly.GetType Method (String) remarks ?

Is there any reason this line
https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/AdoNet/SqlClientSqlCommandSet.cs#L32
is not expressed as:
sqlCmdSetType = typeof(SqlClientSqlCommandSet);
?

best regards,
Tomasz Kubacki

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to