NH-3693 AliasToBeanResultTransformer fails under Firebird

https://nhibernate.jira.com/browse/NH-3693
Added additional case-insensitive field/property matching
Because it was added to fix one or both of the mentioned issues in the
comment I added to the code and I didn't want to modify existing code if
there are alternatives.
Am 20.11.2014 09:08 schrieb "Alexander Zaytsev" <notifications@github.com>:

> In src/NHibernate/Properties/BasicPropertyAccessor.cs:
>
> > @@ -130,6 +130,12 @@ internal static BasicSetter GetSetterOrNull(System.Type type, string propertyNam
> >  				return null;
> >  			}
> >
> > +			// According to http://msdn.microsoft.com/EN-US/library/kz0a8sxy%28v=VS.110,d=hv.2%29.aspx
> > +			// the assumption articulated in the comment following "if(type.IsValueType)" is wrong at least since .NET 2.0!
> > +			// This part of the code has beed changed twice to fix the following Issues in order: NH-1728 then NH-1904
> > +			// As it stands now the implementation prevents AliasToBeanTransformer from finding the correct property
> > +			// on a class if the dialect returns column names in a different case than expected.
> > +
> >  			BindingFlags bindingFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly;
> >
> >  			if (type.IsValueType)
>
> Why can not we just remove this check?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/nhibernate/nhibernate-core/pull/330/files#r20632011>.
>