projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a bulk of tests from Mainsoft repository.
[mono.git]
/
mono
/
tests
/
custom-attr.cs
diff --git
a/mono/tests/custom-attr.cs
b/mono/tests/custom-attr.cs
index 79b5fdf4bf38adc3ffd56486286b33e976f4fd5a..40dbae17ddb9c93060eeef27c4b87577892b720a 100644
(file)
--- a/
mono/tests/custom-attr.cs
+++ b/
mono/tests/custom-attr.cs
@@
-40,7
+40,10
@@
namespace Test {
}
}
}
}
- class ZAttribute : Attribute {
+ interface ZInterface {
+ }
+
+ class ZAttribute : Attribute, ZInterface {
}
[X, Z, Serializable]
}
[X, Z, Serializable]
@@
-93,6
+96,9
@@
namespace Test {
catch {
}
catch {
}
+ if (typeof (Y).GetCustomAttributes (typeof (ZInterface), true).Length != 1)
+ return 5;
+
return 0;
}
}
return 0;
}
}