Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/16 11:09:23 (8 years ago)
Author:
pfleck
Message:

#2557
Fixed wrong excluding of types in object graph traversal (no members were traversed any more).
Added a unit test that verifies that GetObjectGraphObjects yields a reasonable number of objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.3/ObjectExtensions.cs

    r13494 r13510  
    7878             typeof(Delegate).IsAssignableFrom(type) ||
    7979             typeof(Pointer).IsAssignableFrom(type) ||
    80              type.Namespace != "System.Reflection.Emit" ||
     80             type.Namespace == "System.Reflection.Emit" ||
    8181             (type.HasElementType && ExcludeType(type.GetElementType()));
    8282    }
Note: See TracChangeset for help on using the changeset viewer.