+ if (!typeof (Y).IsDefined (typeof (ZInterface), true))
+ return 6;
+
+ // Test that synthetic methods have no attributes
+ if (typeof(int[,]).GetConstructor (new Type [] { typeof (int), typeof (int) }).GetCustomAttributes (true).Length != 0)
+ return 7;
+
+ // Test that nuls are preserved (see Xamarin bug 5732)
+ if (((MyAttribute)typeof (NulTests).GetCustomAttributes (true)[0]).val != "arg\0string\0with\0nuls")
+ return 8;
+