Changeset 7215 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Common/3.3
- Timestamp:
- 12/20/11 13:54:57 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 4 4 *.suo 5 5 *.vsp 6 Doxygen 6 7 Google.ProtocolBuffers-0.9.1.dll 7 8 HeuristicLab 3.3.5.1.ReSharper.user 8 9 HeuristicLab 3.3.6.0.ReSharper.user 9 10 HeuristicLab.4.5.resharper.user 11 HeuristicLab.ExtLibs.6.0.ReSharper.user 10 12 HeuristicLab.resharper.user 11 13 ProtoGen.exe … … 16 18 bin 17 19 protoc.exe 18 HeuristicLab.ExtLibs.6.0.ReSharper.user19 Doxygen
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Common/3.3/ObjectExtensions.cs
r6891 r7215 26 26 using System.Linq; 27 27 using System.Reflection; 28 using System.Security; 28 29 using System.Threading; 29 30 … … 95 96 foreach (FieldInfo f in type.GetAllFields()) { 96 97 if (excludeStaticMembers && f.IsStatic) continue; 97 yield return f.GetValue(obj); 98 object fieldValue; 99 try { 100 fieldValue = f.GetValue(obj); 101 } catch (SecurityException) { 102 continue; 103 } 104 yield return fieldValue; 98 105 } 99 106 }
Note: See TracChangeset
for help on using the changeset viewer.