- Timestamp:
- 02/26/10 15:46:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Core/DeSerializer.cs
r1859 r2873 117 117 } 118 118 119 private void InstantiateParent() { 120 if (parentStack.Count == 0) 121 return; 122 Midwife m = parentStack.Peek(); 123 if (!m.MetaMode && m.Obj == null) 124 CreateInstance(m); 125 } 126 119 127 private void CompositeStartHandler(BeginToken token) { 128 InstantiateParent(); 120 129 Type type = typeIds[(int)token.TypeId]; 121 130 try { … … 193 202 } else { 194 203 Midwife m = parentStack.Peek(); 195 if (m.MetaMode == false && m.Obj == null) 204 if (m.MetaMode == false && m.Obj == null) { 196 205 CreateInstance(m); 206 } 197 207 m.AddValue(name, value); 198 208 }
Note: See TracChangeset
for help on using the changeset viewer.