Skip to content

Commit 62b0136

Browse files
Mono-compatability bug fix
Mono-compatability bug fix -- HashSet enumeration returned null for unknown reason. This fix was tested on a commercial application using 30+ fluent mappings. It works now.
1 parent 4900f06 commit 62b0136

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/FluentNHibernate/MappingModel/Collections/LayeredColumns.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public IEnumerable<ColumnMapping> Columns
2121

2222
foreach (var value in values)
2323
{
24+
if (value == null)
25+
yield break;
26+
2427
yield return value;
2528
}
2629
}

0 commit comments

Comments
 (0)