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:18:14 +0300
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-02 20:18:14 +0300
commit7b611a71ba9f21c6af6af1b7e7703cb30e1d48c0 (patch)
tree11dee04b347cb791cddb7f2ee4c19b0b4f0e786f /mcs/errors/cs0061.cs
parent283bc9387af3b02ae75ac26af77eb2a19393f8f0 (diff)
Test for C# Compiler Error CS0061. Inconsistent accessibility. Base interface less accessible than interface.
svn path=/trunk/mcs/; revision=9351
Diffstat (limited to 'mcs/errors/cs0061.cs')
-rw-r--r--mcs/errors/cs0061.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0061.cs b/mcs/errors/cs0061.cs
new file mode 100644
index 00000000000..6866cc38a33
--- /dev/null
+++ b/mcs/errors/cs0061.cs
@@ -0,0 +1,16 @@
+// cs0061.cs: Inconsistent accessibility. Base interface less accessible than interface.
+// Line: 9
+
+using System;
+
+protected interface IFoo {
+}
+
+public interface IBar : IFoo {
+}
+
+class ErrorCS0061 {
+ public static void Main () {
+ }
+}
+