From: <te...@us...> - 2008-09-20 11:38:37
|
Revision: 3774 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3774&view=rev Author: tehlike Date: 2008-09-20 11:38:34 +0000 (Sat, 20 Sep 2008) Log Message: ----------- Adding null check to Visit Method Modified Paths: -------------- trunk/nhibernate/src/NHibernate.Linq/Visitors/Replacer.cs Modified: trunk/nhibernate/src/NHibernate.Linq/Visitors/Replacer.cs =================================================================== --- trunk/nhibernate/src/NHibernate.Linq/Visitors/Replacer.cs 2008-09-20 11:33:47 UTC (rev 3773) +++ trunk/nhibernate/src/NHibernate.Linq/Visitors/Replacer.cs 2008-09-20 11:38:34 UTC (rev 3774) @@ -13,6 +13,8 @@ } public override Expression Visit(Expression exp) { + if (exp == null) + return exp; if (replacements.ContainsKey(exp)) return replacements[exp]; return base.Visit(exp); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |