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:
authorMiguel de Icaza <miguel@gnome.org>2004-01-07 19:35:35 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-01-07 19:35:35 +0300
commitc6c9ec52224063c294e2a5b48825baf8ba7d86f0 (patch)
tree1ffbde8bd2744412feebc668b6e9372073a04349 /mcs/errors/cs3002-5.cs
parenta57fcfad058aa0b811719b969230e86f2d0f18d6 (diff)
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Diffstat (limited to 'mcs/errors/cs3002-5.cs')
-rw-r--r--mcs/errors/cs3002-5.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs3002-5.cs b/mcs/errors/cs3002-5.cs
new file mode 100644
index 00000000000..9697c7a2aa1
--- /dev/null
+++ b/mcs/errors/cs3002-5.cs
@@ -0,0 +1,15 @@
+// cs3002.cs: Argument type 'CLSClass.Test1()' is not CLS-compliant
+// Line: 11
+
+using System;
+[assembly:CLSCompliant(true)]
+
+[CLSCompliant(false)]
+public interface I {}
+
+public class C {}
+
+public class CLSClass {
+ public I Test1() { return null; }
+ public C Test2() { return null; }
+}