Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Mono-compatability bug fix #195

Merged
merged 1 commit into from

2 participants

@HermanSchoenfeld

Mono-compatability bug fix -- HashSet enumeration returned null for
unknown reason.

This fix was tested on an OSX commercial application using 30+ fluent
mappings. It works now.

@HermanSchoenfeld HermanSchoenfeld 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.
62b0136
@HermanSchoenfeld

PS: it was also tested on Windows with the same mappings.

@chester89 chester89 merged commit 4f9ab2e into jagregory:master
@chester89
Collaborator

Done, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 5, 2012
  1. @HermanSchoenfeld

    Mono-compatability bug fix

    HermanSchoenfeld authored
    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.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/FluentNHibernate/MappingModel/Collections/LayeredColumns.cs
View
3  src/FluentNHibernate/MappingModel/Collections/LayeredColumns.cs
@@ -21,6 +21,9 @@ public IEnumerable<ColumnMapping> Columns
foreach (var value in values)
{
+ if (value == null)
+ yield break;
+
yield return value;
}
}
Something went wrong with that request. Please try again.