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:
authorMarek Safar <marek.safar@gmail.com>2009-08-19 19:54:08 +0400
committerMarek Safar <marek.safar@gmail.com>2009-08-19 19:54:08 +0400
commit7e5692bc7f0d227584c8b6b4a918693f81e9b872 (patch)
tree7a0acbf55a0515439ce1930cb540455648bfe313 /mcs/errors
parent256e18902b5e23e9b51da564a2b1fa945c3d12ac (diff)
New test.
svn path=/trunk/mcs/; revision=140252
Diffstat (limited to 'mcs/errors')
-rw-r--r--mcs/errors/gcs0060.cs4
-rw-r--r--mcs/errors/gcs0122-3.cs10
2 files changed, 12 insertions, 2 deletions
diff --git a/mcs/errors/gcs0060.cs b/mcs/errors/gcs0060.cs
index 8f933e62db5..77b2f733c3e 100644
--- a/mcs/errors/gcs0060.cs
+++ b/mcs/errors/gcs0060.cs
@@ -5,6 +5,6 @@ public class Foo<K> {
}
public class Bar : Foo<Bar.Baz> {
- private class Baz {
+ internal class Baz {
}
-} \ No newline at end of file
+}
diff --git a/mcs/errors/gcs0122-3.cs b/mcs/errors/gcs0122-3.cs
new file mode 100644
index 00000000000..76435ab051e
--- /dev/null
+++ b/mcs/errors/gcs0122-3.cs
@@ -0,0 +1,10 @@
+// CS0122: `Bar.Baz' is inaccessible due to its protection level
+// Line: 7
+
+public class Foo<K> {
+}
+
+public class Bar : Foo<Bar.Baz> {
+ private class Baz {
+ }
+}