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:
authorMarek Safar <marek.safar@gmail.com>2004-05-27 23:26:33 +0400
committerMarek Safar <marek.safar@gmail.com>2004-05-27 23:26:33 +0400
commit68cd1cb0acc4dbd5497d84336a18d42de1b24935 (patch)
tree0a95d9efb0be47ac850be2289e71d87751b2db83 /mcs/errors/cs1667-4.cs
parent246078296014ace72a87c4fa3094e6d1e77c529e (diff)
new test
svn path=/trunk/mcs/; revision=28305
Diffstat (limited to 'mcs/errors/cs1667-4.cs')
-rw-r--r--mcs/errors/cs1667-4.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs1667-4.cs b/mcs/errors/cs1667-4.cs
new file mode 100644
index 00000000000..6729d9aafa1
--- /dev/null
+++ b/mcs/errors/cs1667-4.cs
@@ -0,0 +1,15 @@
+// cs1667.cs: 'System.CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
+// Line: 10
+
+using System;
+using System.Diagnostics;
+
+class Class1
+{
+ public event ResolveEventHandler G {
+ [CLSCompliant(false)]
+ add {}
+ remove {}
+ }
+}
+