Saving empty SortedList<object,int> crashes when getting object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      VS2010, .NET 4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you save an object that has a SortedList property and then try to get it from the database you get a cast exception:

      Unable to cast object of type 'System.Object[]' to type 'System.Collections.Generic.SortedList`2[MyObject,System.Int32]'.

            Assignee:
            Steve Wagner
            Reporter:
            nisbus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: