Skip to content
Browse files

Modify lambda expression to address TeamCity compile error

  • Loading branch information...
1 parent 8d7b870 commit 18c47d99083c41078a81cd724c2cda319b4e2fc2 @julian-maughan julian-maughan committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/NHibernate/SqlCommand/SqlString.cs
View
2 src/NHibernate/SqlCommand/SqlString.cs
@@ -560,7 +560,7 @@ public SqlString[] Split(string splitter)
internal SqlString[] SplitWithRegex(string pattern)
{
- return Regex.Split(ToString(), pattern).Select(Parse).ToArray();
+ return Regex.Split(ToString(), pattern).Select(s => SqlString.Parse(s)).ToArray();
}
private IEnumerable<SqlString> SplitParts(string splitter)

0 comments on commit 18c47d9

Please sign in to comment.
Something went wrong with that request. Please try again.