repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs1540-16.cs
blob
15165aab369c2ba79ec99af350e14ec085d70da4
1
// CS1540: Cannot access protected member `Parent.Foo()' via a qualifier of type `T'. The qualifier must be of type `Child<T>' or derived from it
2
// Line: 9
3
// Compiler options: -r:CS1540-15-lib.dll
4
5
public class
Child
<
T
> :
Parent where T
:
Parent
6
{
7
public void
Bar
(
T p
)
8
{
9
p
.
Foo
();
10
}
11
}