[Test]
[ExpectedException (typeof (SerializationException))]
- [Category ("NotWorking")] // behavior changed in 3.5/SP1
public void SerializeSimpleXml ()
{
DataContractSerializer ser =
}
[Test]
- [Category ("NotWorking")]
public void DeserializeDCWithNullableEnum ()
{
DCWithNullableEnum dc = Deserialize<DCWithNullableEnum> (
}
[Test]
- [Category ("NotWorking")]
+ [Category ("NotWorking")] // importing almost-invalid element. This test is almost missing the point.
public void ImportTest ()
{
XsdDataContractImporter xsdi = GetImporter ();
XmlSchemaElement element = new XmlSchemaElement();
- //Assert.IsTrue (xsdi.CanImport (xss, element));
+ Assert.IsTrue (xsdi.CanImport (xss, new QName ("dc", "http://schemas.datacontract.org/2004/07/")), "#i01");
+ Assert.IsTrue (xsdi.CanImport (xss, element), "#i01-2");
Assert.AreEqual (new XmlQualifiedName ("anyType", XmlSchema.Namespace), xsdi.Import (xss, element), "#i02");
CodeCompileUnit ccu = xsdi.CodeCompileUnit;
}
[Test]
- [Category ("NotWorking")]
public void ImportAll ()
{
NewXmlSchemaSet ();
/// </summary>
public class XmlSchemaObjectTable
{
-// private Hashtable table;
- private HybridDictionary table;
+ private ListDictionary table;
internal XmlSchemaObjectTable ()
{
-// table = new Hashtable();
- table = new HybridDictionary ();
+ table = new ListDictionary ();
}
public int Count
{