}
[Test]
-#if TARGET_JVM
- [Ignore("TD BUG ID: 7202")]
-#endif
public void GenericTypeTest1 () {
CodeTypeReference reference = new CodeTypeReference (
typeof (Dictionary<int,string>));
}
[Test]
-#if TARGET_JVM
- [Ignore("TD BUG ID: 7202")]
-#endif
public void GenericTypeTest2 () {
CodeTypeReference reference = new CodeTypeReference (
typeof (Dictionary<List<int>, string>));
}
[Test]
-#if TARGET_JVM
- [Ignore("TD BUG ID: 7202")]
-#endif
public void GenericTypeTest3 ()
{
CodeTypeReference reference = new CodeTypeReference (
}
[Test]
-#if TARGET_JVM
- [Ignore ("TD BUG ID: 7203")]
-#endif
public void GenericTypeTest5 ()
{
CodeTypeReference reference = new CodeTypeReference (
Assert.IsNotNull (reference.TypeArguments, "#5");
Assert.AreEqual (0, reference.TypeArguments.Count, "#6");
}
+
+ [Test (Description="Bug #523341")]
+ public void GenericTypeTest6 ()
+ {
+ CodeTypeReference reference = new CodeTypeReference ("System.Collections.List<System.Globalization.CultureInfo[]>");
+ Assert.AreEqual ("System.Collections.List<System.Globalization.CultureInfo[]>", reference.BaseType, "#1");
+ Assert.AreEqual (0, reference.ArrayRank, "#2");
+ Assert.IsNull (reference.ArrayElementType, "#3");
+ Assert.AreEqual (0, (int) reference.Options, "#4");
+ Assert.IsNotNull (reference.TypeArguments, "#5");
+ Assert.AreEqual (0, reference.TypeArguments.Count, "#6");
+ }
#endif
// bug #76535