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 20:06:22 +0300
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-02 20:06:22 +0300
commit283bc9387af3b02ae75ac26af77eb2a19393f8f0 (patch)
treebd52f3c9064f4930dfecd63826459abbc3ff4c18 /mcs/errors/cs0059.cs
parentf0660558d3e84c4e8ec00bf1eb28266ded65f9f7 (diff)
Test for C# Compiler ErrorCS0059. Inconsisten accessibility. Parameter type less accessible than delegate.
svn path=/trunk/mcs/; revision=9350
Diffstat (limited to 'mcs/errors/cs0059.cs')
-rw-r--r--mcs/errors/cs0059.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0059.cs b/mcs/errors/cs0059.cs
new file mode 100644
index 00000000000..6ce96ab66fd
--- /dev/null
+++ b/mcs/errors/cs0059.cs
@@ -0,0 +1,15 @@
+// cs0059.cs: Iconsisten accessibility. Parameter type less accessible than delegate.
+// Line: 10
+
+using System;
+
+class ErrorCS0059 {
+}
+
+class Foo {
+ public delegate void ErrorCS0059Delegate (ErrorCS0059 e);
+
+ public static void Main () {
+ }
+}
+