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:
authorJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-02 12:32:45 +0300
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-02 12:32:45 +0300
commita8fbe46a6b06290a86c7bf64b86d252b3fce8a2f (patch)
treeb98e68ad321340e662ed20dff9ef0d508961ca10 /mcs/errors/cs0058.cs
parent530c86572dd5a191337476ecc0e1c72c2b53379a (diff)
Test for C# Compiler Error CS0058. Incompatible accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9341
Diffstat (limited to 'mcs/errors/cs0058.cs')
-rw-r--r--mcs/errors/cs0058.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0058.cs b/mcs/errors/cs0058.cs
new file mode 100644
index 00000000000..f0daf7c134f
--- /dev/null
+++ b/mcs/errors/cs0058.cs
@@ -0,0 +1,15 @@
+// cs0058.cs: Incompatible accessibility. Parameter type is less accessible than delegate.
+// Line:
+
+using System;
+
+class ErrorCS0058 {
+}
+
+class Foo {
+ public delegate ErrorCS0058 Delegate ();
+
+ public static void Main () {
+ }
+}
+