Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

FluentNHibernate "Object reference not set to an instance of an object" on MONO #163

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
54 .gitignore
@@ -1,26 +1,28 @@
-
-**/*.suo
-**/*.user
-**/*.sln*
-bin
-obj
-_ReSharper*
-dist
-output
-build
-
-*.DotSettings.user
-*.csproj.user
-
-*.resharper.user
-
-*.resharper
-
-*.suo
-
-*.cache
-
-*~
-
-*.swp
-TestResult.xml
+
+**/*.suo
+**/*.user
+**/*.sln*
+bin
+obj
+_ReSharper*
+dist
+output
+build
+
+*.DotSettings.user
+*.csproj.user
+
+*.resharper.user
+
+*.resharper
+
+*.suo
+
+*.cache
+
+*~
+
+*.swp
+TestResult.xml
+
+*.user
View
6 src/FluentNHibernate/MappingModel/Collections/LayeredColumns.cs
@@ -21,7 +21,11 @@ public IEnumerable<ColumnMapping> Columns
foreach (var value in values)
{
- yield return value;
+ //value will be null on MONO 2.10.8 or earlier version
+ //HashSet<T> on MONO was not work well.
+ //issue:https://github.com/codesharp/infrastructure/issues/18
+ if (value != null)
+ yield return value;
}
}
}
Something went wrong with that request. Please try again.