Fixed compilation error in .NET 4.0 build - member in excluded section of code had not been renamed

git-svn-id: file:///srv/devel/repo-conversion/nusu@273 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2012-03-09 07:10:25 +00:00
parent 9fcee1e872
commit 07d1b026f1

View File

@ -73,7 +73,7 @@ namespace Nuclex.Support {
// If this class doesn't have a base, don't waste any time
if(type.BaseType != typeof(object)) {
var fieldInfoSet = new HashSet<FieldInfo>(fieldInfos, MemberInfoComparer.Default);
var fieldInfoSet = new HashSet<FieldInfo>(fieldInfos, FieldInfoComparer.Default);
while(type.BaseType != typeof(object)) {
type = type.BaseType;
fieldInfos = type.GetFields(bindingFlags);