You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@ -15,6 +15,7 @@ using System.Xml.Serialization;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using NUnit.Framework;
|
||||
using System.Linq;
|
||||
|
||||
namespace MonoTests.System.XmlSerialization
|
||||
{
|
||||
@ -721,7 +722,7 @@ namespace MonoTests.System.XmlSerialization
|
||||
public void WriteXml (XmlWriter writer)
|
||||
{
|
||||
writer.WriteStartElement ("data");
|
||||
foreach (DictionaryEntry entry in data)
|
||||
foreach (DictionaryEntry entry in data.Cast<DictionaryEntry> ().OrderBy (l => l.Key))
|
||||
{
|
||||
writer.WriteElementString ((string)entry.Key, (string)entry.Value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user