Changeset 8220
- Timestamp:
- 07/04/12 23:29:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Common/3.3/ObjectExtensions.cs
r8212 r8220 86 86 PropertyInfo info = type.GetProperty("Value"); 87 87 object value = info.GetValue(obj, null); 88 if (value != null && excludedMembers.Contains(value, comparer))88 if (value != null && !excludedMembers.Contains(value, comparer)) 89 89 yield return value; 90 90 } else if (type.IsSubclassOfRawGeneric(typeof(Dictionary<,>)) || … … 116 116 try { 117 117 fieldValue = f.GetValue(obj); 118 } 119 catch (SecurityException) { 118 } catch (SecurityException) { 120 119 continue; 121 120 }
Note: See TracChangeset
for help on using the changeset viewer.