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/cs3001-6.cs
parenta57fcfad058aa0b811719b969230e86f2d0f18d6 (diff)
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Diffstat (limited to 'mcs/errors/cs3001-6.cs')
-rw-r--r--mcs/errors/cs3001-6.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs3001-6.cs b/mcs/errors/cs3001-6.cs
new file mode 100644
index 00000000000..0ef4c502b16
--- /dev/null
+++ b/mcs/errors/cs3001-6.cs
@@ -0,0 +1,15 @@
+// cs3001.cs: Argument type 'sbyte' is not CLS-compliant
+// Line: 8
+
+using System;
+[assembly:CLSCompliant(true)]
+
+public class CLSClass {
+ static public implicit operator CLSClass(byte value) {
+ return new CLSClass();
+ }
+
+ static public implicit operator CLSClass(sbyte value) {
+ return new CLSClass();
+ }
+} \ No newline at end of file