From 6a83517cfd589f189004be527362ef4801b7c7d7 Mon Sep 17 00:00:00 2001 From: zoltan Date: Mon, 9 Mar 2009 10:38:11 +0000 Subject: [PATCH] 2009-03-09 Zoltan Varga * custom-attr.cs: Add a test for #483247. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@128865 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/tests/ChangeLog | 4 ++++ mono/tests/custom-attr.cs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/mono/tests/ChangeLog b/mono/tests/ChangeLog index 65405b9b8..1b8d2a49c 100644 --- a/mono/tests/ChangeLog +++ b/mono/tests/ChangeLog @@ -1,3 +1,7 @@ +2009-03-09 Zoltan Varga + + * custom-attr.cs: Add a test for #483247. + 2009-03-08 Zoltan Varga * gchandles.cs: New test. diff --git a/mono/tests/custom-attr.cs b/mono/tests/custom-attr.cs index 40dbae17d..39784146e 100644 --- a/mono/tests/custom-attr.cs +++ b/mono/tests/custom-attr.cs @@ -99,6 +99,9 @@ namespace Test { if (typeof (Y).GetCustomAttributes (typeof (ZInterface), true).Length != 1) return 5; + if (!typeof (Y).IsDefined (typeof (ZInterface), true)) + return 6; + return 0; } } -- 2.11.4.GIT