|
From: <pa...@us...> - 2011-04-19 17:36:14
|
Revision: 5719
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=5719&view=rev
Author: patearl
Date: 2011-04-19 17:36:06 +0000 (Tue, 19 Apr 2011)
Log Message:
-----------
Linq: Fixed typo in assertion error message.
Modified Paths:
--------------
trunk/nhibernate/src/NHibernate/Linq/Visitors/WhereJoinDetector.cs
Modified: trunk/nhibernate/src/NHibernate/Linq/Visitors/WhereJoinDetector.cs
===================================================================
--- trunk/nhibernate/src/NHibernate/Linq/Visitors/WhereJoinDetector.cs 2011-04-18 21:24:23 UTC (rev 5718)
+++ trunk/nhibernate/src/NHibernate/Linq/Visitors/WhereJoinDetector.cs 2011-04-19 17:36:06 UTC (rev 5719)
@@ -289,7 +289,7 @@
if (_memberExpressionDepth == 0 && _collectedPathMemberExpressionsInExpressions.Count == 0)
{
if (expression.Type != typeof(bool))
- throw new AssertionFailure("Was expected a boolean member expression.");
+ throw new AssertionFailure("Was expecting a boolean member expression.");
addOwnMemberExpressionMapping = true;
_collectedPathMemberExpressionsInExpressions.Push(new HashSet<string>());
}
@@ -319,7 +319,7 @@
if (_memberExpressionDepth == 0 && _collectedPathMemberExpressionsInExpressions.Count == 0)
{
if (expression.Type != typeof(bool))
- throw new AssertionFailure("Was expected a boolean member expression.");
+ throw new AssertionFailure("Was expecting a boolean member expression.");
addOwnMemberExpressionMapping = true;
_collectedPathMemberExpressionsInExpressions.Push(new HashSet<string>());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|