projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932ade4
)
New test.
author
Marek Safar
<marek.safar@gmail.com>
Mon, 5 Jan 2009 10:59:04 +0000
(10:59 -0000)
committer
Marek Safar
<marek.safar@gmail.com>
Mon, 5 Jan 2009 10:59:04 +0000
(10:59 -0000)
svn path=/trunk/mcs/; revision=122430
mcs/errors/cs0122-29.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/errors/cs0122-29.cs
b/mcs/errors/cs0122-29.cs
new file mode 100644
(file)
index 0000000..
1f038b2
--- /dev/null
+++ b/
mcs/errors/cs0122-29.cs
@@ -0,0
+1,19
@@
+// CS0122: `Foo.Bar()' is inaccessible due to its protection level
+// Line: 17
+
+using System;
+
+public class Foo
+{
+ void Bar ()
+ {
+ }
+}
+
+public class Baz : Foo
+{
+ public static void Main (String[] args)
+ {
+ Bar ();
+ }
+}