You've already forked linux-packaging-mono
Imported Upstream version 4.4.0.142
Former-commit-id: 08ca4d6ded648b2ac2eb817c12d5723b52edbb16
This commit is contained in:
@@ -122,5 +122,17 @@ namespace MonoTests.System.Runtime.Serialization
|
||||
Assert.IsTrue (s.Contains ("<Flags>All</Flags>"));
|
||||
}
|
||||
}
|
||||
|
||||
// Bug #37116
|
||||
[Test]
|
||||
public void KeyPairOfAny ()
|
||||
{
|
||||
var dict = new Dictionary<string, object> ();
|
||||
dict.Add ("test", new List<string> () { "test entry" });
|
||||
|
||||
var dcs = new DataContractSerializer (typeof(Dictionary<string, object>));
|
||||
dcs.WriteObject (new MemoryStream (), dict);
|
||||
// Should not throw exception.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user