From: Peter S. <sz...@us...> - 2004-05-28 11:49:22
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1770/src/NHibernate/Util Modified Files: ReflectHelper.cs Log Message: Modified exception handling a bit, compilation of queries should be much faster now. Index: ReflectHelper.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Util/ReflectHelper.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ReflectHelper.cs 13 Apr 2004 10:25:46 -0000 1.10 --- ReflectHelper.cs 28 May 2004 11:49:05 -0000 1.11 *************** *** 142,145 **** --- 142,146 ---- /// <returns>The Type for the Class.</returns> public static System.Type ClassForName(string name) { + if (name == " ") return null; return System.Type.GetType(name, true); } |