Changeset 13998


Ignore:
Timestamp:
07/05/16 12:02:09 (14 months ago)
Author:
gkronber
Message:

#2626: excluded all TypeInfo objects and all instances of types from the System.Runtime.Serialization assembly

File:
1 edited

Legend:

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

    r13510 r13998  
    6363    ///   * System.Delegate
    6464    ///   * System.Reflection.Pointer
     65    ///   * System.RuntimeType
    6566    ///   * Primitives (Boolean, Byte, SByte, Int16, UInt16, Int32, UInt32, Int64, UInt64, IntPtr, UIntPtr, Char, Double, Single)
    6667    ///   * string, decimal, DateTime
     
    7980             typeof(Pointer).IsAssignableFrom(type) ||
    8081             type.Namespace == "System.Reflection.Emit" ||
     82             type.Assembly.GetName().Name == "System.Runtime.Serialization" ||
     83             typeof(TypeInfo).IsAssignableFrom(type) ||
    8184             (type.HasElementType && ExcludeType(type.GetElementType()));
    8285    }
Note: See TracChangeset for help on using the changeset viewer.