Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/29/09 15:30:23 (15 years ago)
Author:
epitzer
Message:

Create folder with auxiliary classes. (#606)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/Serializer.cs

    r1702 r1703  
    33using System;
    44using System.Linq;
     5using HeuristicLab.Persistence.Auxiliary;
    56using HeuristicLab.Persistence.Interfaces;
    67using HeuristicLab.Persistence.Core.Tokens;
     
    910using System.Runtime.InteropServices;
    1011
    11 namespace HeuristicLab.Persistence.Core { 
     12namespace HeuristicLab.Persistence.Core {
    1213
    1314  public class Serializer : IEnumerable<ISerializationToken> {
     
    5960      this.rootName = rootName;
    6061      this.configuration = configuration;
    61       obj2id = new Dictionary<object,int>(new ReferenceEqualityComparer()) { { new object(), 0 } };
     62      obj2id = new Dictionary<object, int>(new ReferenceEqualityComparer()) { { new object(), 0 } };
    6263      typeCache = new Dictionary<Type, int>();
    6364    }
     
    8283      int typeId = typeCache[type];
    8384      int? id = null;
    84       if ( ! type.IsValueType) {
     85      if (!type.IsValueType) {
    8586        id = obj2id.Count;
    8687        obj2id.Add(value, (int)id);
Note: See TracChangeset for help on using the changeset viewer.