projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mcs
/
errors
/
cs0122-16.cs
1
// cs0122-16.cs: `A.x' is inaccessible due to its protection level
2
// Line: 16
3
4
public class A
5
{
6
protected bool x = true;
7
8
public A()
9
{}
10
}
11
12
public class B
13
{
14
public static void Main(string[] args)
15
{
16
if (new A().x)
17
{
18
System.Console.WriteLine("this should not compile");
19
}
20
}
21
}