projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git]
/
mcs
/
errors
/
cs1540-20.cs
1
// CS1540: Cannot access protected member `A.A(int)' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it
2
// Line: 25
3
4
public class A
5
{
6
protected A (int a)
7
{
8
}
9
}
10
11
public class B : A
12
{
13
public B ()
14
: base (1)
15
{
16
}
17
18
public static void Main ()
19
{
20
A a = new A (1);
21
}
22
}