Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2005-08-30 12:25:29 +0400
committerRaja R Harinath <harinath@hurrynot.org>2005-08-30 12:25:29 +0400
commit38cc08287568085704a235b95dd0517d0eccbc36 (patch)
tree219d835d73541b9519c3755e0bff25c4243442b0 /mcs/tests/test-447.cs
parentc2c765140f22c7be18e3e6bf41978bfae97917a0 (diff)
In mcs:
Fix #75802. * class.cs (TypeContainer.VerifyClsName): Don't use a PartialContainer when verifying CLS compliance. (AbstractPropertyEventMethod): Set Parent here, ... (PropertyMethod): ... not here. In tests: * test-447.cs: New test from #75802. svn path=/trunk/mcs/; revision=49109
Diffstat (limited to 'mcs/tests/test-447.cs')
-rw-r--r--mcs/tests/test-447.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/tests/test-447.cs b/mcs/tests/test-447.cs
new file mode 100644
index 00000000000..0ac69338044
--- /dev/null
+++ b/mcs/tests/test-447.cs
@@ -0,0 +1,28 @@
+using System;
+
+[assembly:CLSCompliant(true)]
+
+namespace System {
+ [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+ internal sealed class MonoTODOAttribute : Attribute {
+
+ string comment;
+
+ public MonoTODOAttribute ()
+ {
+ }
+ }
+
+}
+
+namespace System.Web
+{
+ public partial class HttpBrowserCapabilities {
+
+ [MonoTODO] public Version A {
+ get { throw new Exception (); }
+ }
+ }
+}
+
+class Test { static void Main () { } }