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:
parent
9fcee1e872
commit
07d1b026f1
|
@ -73,7 +73,7 @@ namespace Nuclex.Support {
|
||||||
|
|
||||||
// If this class doesn't have a base, don't waste any time
|
// If this class doesn't have a base, don't waste any time
|
||||||
if(type.BaseType != typeof(object)) {
|
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)) {
|
while(type.BaseType != typeof(object)) {
|
||||||
type = type.BaseType;
|
type = type.BaseType;
|
||||||
fieldInfos = type.GetFields(bindingFlags);
|
fieldInfos = type.GetFields(bindingFlags);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user