}
}
- class ZAttribute : Attribute {
+ interface ZInterface {
+ }
+
+ class ZAttribute : Attribute, ZInterface {
}
[X, Z, Serializable]
catch {
}
+ if (typeof (Y).GetCustomAttributes (typeof (ZInterface), true).Length != 1)
+ return 5;
+
return 0;
}
}