Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/30/09 12:51:34 (15 years ago)
Author:
epitzer
Message:

Properly fill arrays with non-zero lower bounds (#561)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence.Test/NewSerializationTest.cs

    r1456 r1463  
    188188
    189189    public static void Test4() {
    190       ArrayList[] arrayListArray = new ArrayList[3];
     190      ArrayList[] arrayListArray = new ArrayList[4];
    191191      arrayListArray[0] = new ArrayList();
    192192      arrayListArray[0].Add(arrayListArray);
     
    197197      arrayListArray[2].Add(arrayListArray);
    198198      arrayListArray[2].Add(arrayListArray);
     199      Array a = Array.CreateInstance(
     200                              typeof(object),
     201                              new[] { 1, 2 }, new[] { 3, 4 });
     202      arrayListArray[2].Add(a);
    199203      XmlGenerator.Serialize(arrayListArray, "test4");
    200204      object o = XmlParser.DeSerialize("test4");
Note: See TracChangeset for help on using the changeset viewer.