From 07d1b026f1371a81759a0a07d90b33dac95d578a Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Fri, 9 Mar 2012 07:10:25 +0000 Subject: [PATCH] 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 --- Source/TypeHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/TypeHelper.cs b/Source/TypeHelper.cs index a38c4b5..5778ee6 100644 --- a/Source/TypeHelper.cs +++ b/Source/TypeHelper.cs @@ -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(fieldInfos, MemberInfoComparer.Default); + var fieldInfoSet = new HashSet(fieldInfos, FieldInfoComparer.Default); while(type.BaseType != typeof(object)) { type = type.BaseType; fieldInfos = type.GetFields(bindingFlags);